https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110946
Dave Rodgman <dave.rodgman at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|missed-optimization | Component|ipa |other Target|aarch64 | --- Comment #4 from Dave Rodgman <dave.rodgman at arm dot com> --- >From a quick test, it doesn't look like the unaligned access inlining is the issue: Not static inline, -Os: AES-XTS-128 : 853799 KiB/s, 0 cycles/byte AES-XTS-256 : 749919 KiB/s, 0 cycles/byte Static inline, -Os: AES-XTS-128 : 885380 KiB/s, 0 cycles/byte AES-XTS-256 : 752995 KiB/s, 0 cycles/byte Not static inline, -O2: AES-XTS-128 : 2822656 KiB/s, 0 cycles/byte AES-XTS-256 : 2425721 KiB/s, 0 cycles/byte Static inline, -O2: AES-XTS-128 : 2692321 KiB/s, 0 cycles/byte AES-XTS-256 : 2446391 KiB/s, 0 cycles/byte