https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107061
Bug ID: 107061 Summary: ENCODEKEY128 clobbers xmm4-xmm6 Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: crazylht at gmail dot com, wwwhhhyyy333 at gmail dot com Target Milestone: --- Target: i386 The current ENCODEKEY128 clears xmm4-xmm6. But Intel key lock spec has XMM4 through XMM6 are reserved for future usages and software should not rely upon them being zeroed. xmm4-xmm6 should be marked as clobbered, not zeroed for future compatibility.