Tell llvm-mc we're using intel syntax, so we don't have to use directives.
llvm-svn: 166640
This commit is contained in:
parent
9356608f56
commit
468f1df753
|
|
@ -1,12 +1,10 @@
|
|||
// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
|
||||
// RUN: llvm-mc -x86-asm-syntax=intel -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
|
||||
|
||||
.intel_syntax
|
||||
mov eax, [ebx].0
|
||||
mov [ebx].4, ecx
|
||||
.att_syntax
|
||||
|
||||
; CHECK: movl (%ebx), %eax
|
||||
; CHECK: encoding: [0x8b,0x03]
|
||||
; CHECK: movl %ecx, 4(%ebx)
|
||||
; CHECK: encoding: [0x89,0x4b,0x04]
|
||||
|
||||
// CHECK: movl (%ebx), %eax
|
||||
// CHECK: encoding: [0x8b,0x03]
|
||||
// CHECK: movl %ecx, 4(%ebx)
|
||||
// CHECK: encoding: [0x89,0x4b,0x04]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue