[Bug target/126685] [17 regression] grub fails to assemble with broken __builtin_bswap64 expansion (Error: incorrect register `%eax' used with `w' suffix)
"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126685 --- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Uros Bizjak <[email protected]>: https://gcc.gnu.org/g:d55b88505c7eace3b5476d021af52b996407cae3 commit r17-3039-gd55b88505c7eace3b5476d021af52b996407cae3 Author: Uros Bizjak <[email protected]> Date: Thu Aug 6 16:12:38 2026 +0200 i386: Use %w operand modifier for ROLW bswaphisi2_lowpart alternative [PR126685] PR target/126685 gcc/ChangeLog: * config/i386/i386.md (bswaphisi2_lowpart): Use %w operand modifier to emit HImode register name for ROLW alternative. gcc/testsuite/ChangeLog: * gcc.target/i386/pr126685.c: New test.