H.J. Lu
be5ff8fe6d
x86: Update register operand check for AddrPrefixOpReg
...
When the address size prefix applies to both the memory and the register
operand, we need to extract the address size prefix from the register
operand if the memory operand has no real registers, like symbol, DISP
or symbol(%rip).
NB: GCC always generates symbol(%rip) for RIP-relative addressing for
both x32 and x86-64.
Move the .code16 tests in movdir.s to movdir-16bit to show the correct
output from objdump.
gas/
PR gas/26685
* config/tc-i386.c (process_suffix): Also check the register
operand for the address size prefix if the memory operand has
no real registers.
* testsuite/gas/i386/enqcmd-16bit.d: New file.
* testsuite/gas/i386/enqcmd-16bit.s: Likewise.
* testsuite/gas/i386/movdir-16bit.d: Likewise.
* testsuite/gas/i386/movdir-16bit.s: Likewise.
* testsuite/gas/i386/enqcmd.s: Add tests with symbol and DISP.
* testsuite/gas/i386/x86-64-enqcmd.s: Likewise.
* testsuite/gas/i386/x86-64-movdir.s: Likewise.
* testsuite/gas/i386/movdir.s: Add tests with symbol and DISP.
Remove the .code16 test.
* testsuite/gas/i386/i386.exp: Run movdir-16bit and enqcmd-16bit.
* testsuite/gas/i386/x86-64-enqcmd-intel.d: Updated.
* testsuite/gas/i386/x86-64-enqcmd.d: Likewise.
* testsuite/gas/i386/x86-64-movdir-intel.d: Likewise.
* testsuite/gas/i386/x86-64-movdir.d: Likewise.
* testsuite/gas/i386/enqcmd-intel.d: Likewise.
* testsuite/gas/i386/enqcmd.d: Likewise.
* testsuite/gas/i386/movdir-intel.d: Likewise.
* testsuite/gas/i386/movdir.d: Likewise.
* testsuite/gas/i386/x86-64-enqcmd-intel.d: Likewise.
* testsuite/gas/i386/x86-64-enqcmd.d: Likewise.
* testsuite/gas/i386/x86-64-movdir-intel.d: Likewise.
* testsuite/gas/i386/x86-64-movdir.d: Likewise.
opcodes/
PR gas/26685
* i386-dis.c (mod_table): Replace Gv with Gdq on movdiri.
(cherry picked from commit b3a3496f83a14ad226790725c8e3ed9777fe2899)
2020-10-07 11:25:28 -07:00
..
2020-09-19 11:36:14 +01:00
2020-04-30 15:47:30 +01:00
2020-04-20 10:58:16 +01:00
2020-04-20 10:58:16 +01:00
2020-04-30 15:47:30 +01:00
2020-04-20 10:58:16 +01:00
2020-04-20 10:58:16 +01:00
2020-02-26 10:37:25 +10:30
2020-04-30 15:47:30 +01:00
2020-06-11 12:34:37 +01:00
2020-04-30 15:47:30 +01:00
2020-04-30 15:47:30 +01:00
2018-09-21 10:27:49 -04:00
2020-02-26 10:37:25 +10:30
2020-01-01 18:42:54 +10:30
2020-03-26 20:02:42 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-05-21 10:45:33 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2018-09-20 15:49:00 +01:00
2020-01-13 11:16:47 +02:00
2020-02-25 10:27:07 +02:00
2020-01-07 15:25:34 +02:00
2020-06-29 10:07:56 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-08-26 15:46:09 +02:00
2020-08-26 15:46:09 +02:00
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-08-26 15:46:09 +02:00
2020-08-26 15:46:09 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-05 16:22:46 +09:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-10-07 11:25:28 -07:00
2019-01-01 21:25:40 +10:30
2020-01-01 18:12:08 +10:30
2020-09-19 11:36:14 +01:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-04 19:20:33 +10:30
2020-06-29 10:07:56 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-04 19:20:33 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-02-04 14:10:40 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-08-26 16:50:35 +02:00
2020-03-26 20:02:42 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-29 10:07:56 +09:30
2020-01-01 18:42:54 +10:30
2020-03-26 20:02:42 +10:30
2020-01-20 15:45:50 +10:30
2019-06-27 13:39:32 -07:00
2020-06-09 08:57:22 +02:00
2020-06-09 08:57:22 +02:00
2019-06-21 13:18:41 -07:00
2020-06-09 08:57:22 +02:00
2020-06-09 08:57:22 +02:00
2020-10-07 11:25:28 -07:00
2020-07-02 08:46:48 -07:00
2020-04-07 13:59:50 +08:00
2020-01-01 18:42:54 +10:30
2020-08-04 05:44:17 -07:00
2020-08-04 05:44:17 -07:00
2020-01-01 18:42:54 +10:30
2020-08-04 05:44:17 -07:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-04-21 16:53:36 +02:00
2020-01-10 17:32:33 +10:30
2020-01-01 18:42:54 +10:30
2020-01-10 17:32:33 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-03-09 08:23:46 -07:00
2020-03-09 08:23:46 -07:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-05-21 10:45:33 +09:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-03-20 12:35:51 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-29 10:07:56 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-02-26 10:37:25 +10:30
2020-01-01 18:42:54 +10:30
2020-03-20 12:35:51 +10:30
2020-01-01 18:42:54 +10:30
2020-02-26 10:37:25 +10:30
2020-05-28 22:08:42 +09:30
2020-01-01 18:42:54 +10:30
2020-05-28 21:11:32 +09:30
2020-01-01 18:42:54 +10:30
2020-01-17 12:34:03 -06:00
2020-05-19 20:41:03 +09:00
2020-06-04 16:17:42 +02:00
2020-05-19 20:41:03 +09:00
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-05-19 20:41:03 +09:00
2020-05-19 20:41:03 +09:00
2020-05-19 20:41:03 +09:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-06 14:44:32 +09:30
2020-09-24 12:14:43 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-30 09:54:55 +08:00
2020-06-22 10:01:14 +08:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-03-22 23:20:15 +10:30
2020-06-29 10:07:56 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-05-26 18:15:41 +02:00
2020-01-13 12:12:41 +10:30
2020-01-13 12:12:41 +10:30
2020-01-01 18:42:54 +10:30
2020-04-29 13:13:55 +01:00
2020-04-29 16:09:38 +01:00
2020-05-21 10:45:33 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-05-21 10:45:33 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-29 10:07:56 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-10 17:32:33 +10:30
2020-01-01 18:42:54 +10:30
2020-01-10 17:32:33 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-02-26 10:37:25 +10:30
2020-01-01 18:42:54 +10:30
2020-01-13 16:44:27 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-29 10:07:56 +09:30
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-06-04 16:17:42 +02:00
2020-06-04 16:17:42 +02:00
2020-01-01 18:42:54 +10:30
2020-01-01 18:42:54 +10:30
2020-05-21 10:45:33 +09:30
2020-01-14 10:57:52 +10:30
2020-01-08 21:51:32 +10:30
2020-01-08 21:51:32 +10:30
2020-03-25 08:54:18 +10:30