[Bug target/69734] no_caller_saved_registers attribute doesn't work with -mavx512f -g
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Feb 9 13:37:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69734
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-02-09
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Mask registers are spilled with
kmovw %k0, -88(%rbp)
kmovw %k1, -86(%rbp)
kmovw %k2, -84(%rbp)
kmovw %k3, -82(%rbp)
kmovw %k4, -80(%rbp)
kmovw %k5, -78(%rbp)
kmovw %k6, -76(%rbp)
kmovw %k7, -74(%rbp)
...
.cfi_offset 118, -104
.cfi_offset 119, -102
.cfi_offset 120, -100
.cfi_offset 121, -98
.cfi_offset 122, -96
.cfi_offset 123, -94
.cfi_offset 124, -92
.cfi_offset 125, -90
But the minimum stack slot for spill is 4 byte for 32-bit target
and 8 byte for 64-bit target.
More information about the Gcc-bugs
mailing list