What is the fastest way to read/write GPIOs on SAMD21 boards?

@westfw this is really cool to know. This is literally as fast as it cann possibly be.

So is this an IDE specific of a situation>? Did you use the arduino IDE to generate those assemblers?

How about reading from a pin are they still the same?

Just goes to show that even compiler still need optimizations.