| commit | fc111d56dd5128d633201ef81f6e5dd5b86c24c1 | [log] [tgz] |
|---|---|---|
| author | Cui, Lili <lili.cui@intel.com> | Fri Jul 05 09:55:41 2024 +0800 |
| committer | Cui, Lili <lili.cui@intel.com> | Fri Jul 05 09:55:41 2024 +0800 |
| tree | efa4c795a53fc562d6d8661d417cf966601e9b42 | |
| parent | f95476cc5e51923b206d4c9c9a1bb1c309808431 [diff] |
x86: Correct position of ".s" for CCMPcc in disassembler
Added new macro %SW to CCMPcc to print ".s" after the mnemonic.
Before:
ccmpbl {dfv=}.s %edx,%eax
After:
ccmpbl.s {dfv=} %edx,%eax
gas/ChangeLog:
* testsuite/gas/i386/x86-64-pseudos-apx.d: Add tests for CCMPcc.
* testsuite/gas/i386/x86-64-pseudos-apx.s: Ditto.
opcodes/ChangeLog:
* i386-dis-evex.h: Added %SW for CCMPcc swap operands.
* i386-dis.c (struct dis386): Added %SW.
(putop): Handle %SW.