[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/26685] Error: invalid register operand size for `movdir64b'
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/26685] Error: invalid register operand size for `movdir64b' |
Date: |
Wed, 30 Sep 2020 23:34:22 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26685
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=27f134698ac529f3050f5ddbd31a0ab0bbe5be99
commit 27f134698ac529f3050f5ddbd31a0ab0bbe5be99
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Sep 30 16:33:35 2020 -0700
x86: Check register operand for AddrPrefixOpReg
If the address prefix changes the register operand, we need to check the
register operand when the memory operand is RIP-relative.
PR gas/26685
* config/tc-i386.c (process_suffix): Check the register operand
for the address size prefix if the memory operand is symbol(%rip).
* testsuite/gas/i386/x86-64-enqcmd.s: Add tests with RIP-relative
addressing.
* testsuite/gas/i386/x86-64-movdir.s: Likewise.
* 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.
--
You are receiving this mail because:
You are on the CC list for the bug.