diff options
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/X86/intel-syntax.s | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/MC/X86/intel-syntax.s b/test/MC/X86/intel-syntax.s index 226757b305..2e4d6b940b 100644 --- a/test/MC/X86/intel-syntax.s +++ b/test/MC/X86/intel-syntax.s @@ -283,5 +283,12 @@ _main: mov [((-2) * ((8 + 4) - 4)) + eax + ebx*4], ecx // CHECK: movl %ecx, -16(%eax,%ebx,4) mov [eax + ((-2) * ((8 + 4) - 4)) + ebx*4], ecx - +// CHECK: movl %ecx, 96(%eax,%ebx,4) + mov [eax + ((-2) * ((8 + 4) * -4)) + ebx*4], ecx +// CHECK: movl %ecx, -8(%eax,%ebx,4) + mov [eax][-8][ebx*4], ecx +// CHECK: movl %ecx, -2(%eax,%ebx,4) + mov [eax][16/-8][ebx*4], ecx +// CHECK: movl %ecx, -2(%eax,%ebx,4) + mov [eax][(16)/-8][ebx*4], ecx ret |