As an FYI, don't forget to specify -O3 otherwise you may see less than
optimal asm code generated. Also note that hovering over the assembler
instruction will display help text describing the instruction (useful for
understanding instructions). You can easily switch between machine
architectures to see it's effect.

On Thu, Nov 27, 2025 at 7:40 AM 'Brian Candler' via golang-nuts <
[email protected]> wrote:

> Aside: Godbolt is a useful tool if you want to see what assembly is
> generated for some given source code.
>
> Try:
> https://godbolt.org/z/K6M6evxE6
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/CAByJhJ%3Drh6qa%2BK76JWeijiJqvLdvjTiidoPc6JM_2DN6sbJM2g%40mail.gmail.com.

Reply via email to