Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: tests_lit/llvm2ice_tests/ebp_args.ll

Issue 574133002: Add initial integrated assembler w/ some Xmm ops. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: remove duplicate pxor, and use enum Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests_lit/llvm2ice_tests/align-spill-locations.ll ('k') | tests_lit/llvm2ice_tests/nop-insertion.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/ebp_args.ll
diff --git a/tests_lit/llvm2ice_tests/ebp_args.ll b/tests_lit/llvm2ice_tests/ebp_args.ll
index 03264fe84db26f74a17a60fcc7bee68fdb86680d..04f2c7bb7814a94c600225524b042289a40d3af4 100644
--- a/tests_lit/llvm2ice_tests/ebp_args.ll
+++ b/tests_lit/llvm2ice_tests/ebp_args.ll
@@ -3,7 +3,9 @@
; adjustment was incorrectly added to the stack/frame offset for
; ebp-based frames.
-; RUN: %llvm2ice -Om1 --target=x8632 --verbose none %s | FileCheck %s
+; RUN: %llvm2ice -Om1 --target=x8632 --verbose none %s \
+; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
+; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
declare i32 @memcpy_helper2(i32 %buf, i32 %buf2, i32 %n)
@@ -25,19 +27,19 @@ entry:
; CHECK: push ebp
; CHECK: mov ebp, esp
; CHECK: sub esp, 24
-; CHECK: mov eax, dword ptr [ebp+12]
-; CHECK: mov dword ptr [ebp-4], eax
+; CHECK: mov eax, dword ptr [ebp + 12]
+; CHECK: mov dword ptr [ebp - 4], eax
; CHECK: sub esp, 128
-; CHECK: mov dword ptr [ebp-8], esp
-; CHECK: mov eax, dword ptr [ebp-8]
-; CHECK: mov dword ptr [ebp-12], eax
-; CHECK: movzx eax, byte ptr [ebp-4]
-; CHECK: mov dword ptr [ebp-16], eax
+; CHECK: mov dword ptr [ebp - 8], esp
+; CHECK: mov eax, dword ptr [ebp - 8]
+; CHECK: mov dword ptr [ebp - 12], eax
+; CHECK: movzx eax, byte ptr [ebp - 4]
+; CHECK: mov dword ptr [ebp - 16], eax
; CHECK: sub esp, 16
-; CHECK: mov ecx, dword ptr [ebp+8]
+; CHECK: mov ecx, dword ptr [ebp + 8]
; CHECK: mov dword ptr [esp], ecx
-; CHECK: mov ecx, dword ptr [ebp-12]
-; CHECK: mov dword ptr [esp+4], ecx
-; CHECK: mov ecx, dword ptr [ebp-16]
-; CHECK: mov dword ptr [esp+8], ecx
-; CHECK: call memcpy_helper2
+; CHECK: mov ecx, dword ptr [ebp - 12]
+; CHECK: mov dword ptr [esp + 4], ecx
+; CHECK: mov ecx, dword ptr [ebp - 16]
+; CHECK: mov dword ptr [esp + 8], ecx
+; CHECK: call -4
« no previous file with comments | « tests_lit/llvm2ice_tests/align-spill-locations.ll ('k') | tests_lit/llvm2ice_tests/nop-insertion.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698