mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
be4bc8908b
This patch fixes bugzilla 31576 (https://llvm.org/bugs/show_bug.cgi?id=31576). "data32" instruction prefix was not defined in the llvm. An exception had to be added to the X86 tablegen and AsmPrinter because both "data16" and "data32" are encoded to 0x66 (but in different modes). Differential Revision: https://reviews.llvm.org/D28468 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292352 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
238 B
ArmAsm
10 lines
238 B
ArmAsm
# RUN: llvm-mc -triple=x86_64-unknown-unknown -filetype=obj %s -o - | llvm-objdump -triple=x86_64-unknown-unknown -d - | FileCheck %s
|
|
|
|
# CHECK: 66 0f 01 14 25 00 00 00 00
|
|
# CHECK: lgdtq 0
|
|
data16 lgdt 0
|
|
|
|
# CHECK: 66
|
|
# CHECK: data16
|
|
data16
|