mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-15 12:09:51 +00:00
Add test case for r179403.
llvm-svn: 179404
This commit is contained in:
parent
e9902d8325
commit
7181ed3346
@ -372,6 +372,12 @@ void t35() {
|
||||
void t36() {
|
||||
int arr[4];
|
||||
__asm mov eax, 4[arr]
|
||||
__asm mov eax, 4[arr + 4]
|
||||
__asm mov eax, 8[arr + 4 + 32*2 - 4]
|
||||
__asm mov eax, 12[4 + arr]
|
||||
__asm mov eax, 4[4 + arr + 4]
|
||||
__asm mov eax, 4[64 + arr + (2*32)]
|
||||
__asm mov eax, 4[64 + arr - 2*32]
|
||||
__asm mov eax, [arr + 4]
|
||||
__asm mov eax, [arr + 4 + 32*2 - 4]
|
||||
__asm mov eax, [4 + arr]
|
||||
@ -380,6 +386,12 @@ void t36() {
|
||||
__asm mov eax, [64 + arr - 2*32]
|
||||
// CHECK: t36
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$4$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$8$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$72$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$16$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$12$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$132$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$4$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$4$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$64$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$4$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %{{.*}})
|
||||
|
Loading…
Reference in New Issue
Block a user