mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
00fe38ddac
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 llvm-svn: 292352
10 lines
239 B
ArmAsm
10 lines
239 B
ArmAsm
# RUN: llvm-mc -triple i386-unknown-unknown-code16 -filetype=obj %s -o - | llvm-objdump -triple i386-unknown-unknown-code16 -d - | FileCheck %s
|
|
|
|
# CHECK: 66 0f 01 16 00 00
|
|
# CHECK: lgdtl 0
|
|
data32 lgdt 0
|
|
|
|
# CHECK: 66
|
|
# CHECK: data32
|
|
data32
|