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

Side by Side Diff: tests_lit/llvm2ice_tests/ebp_args.ll

Issue 733643005: Subzero: Use the linear-scan register allocator for Om1 as well. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Update/fix some comments Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/IceTranslator.cpp ('k') | tests_lit/llvm2ice_tests/nop-insertion.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; This test originally exhibited a bug in ebp-based stack slots. The 1 ; This test originally exhibited a bug in ebp-based stack slots. The
2 ; problem was that during a function call push sequence, the esp 2 ; problem was that during a function call push sequence, the esp
3 ; adjustment was incorrectly added to the stack/frame offset for 3 ; adjustment was incorrectly added to the stack/frame offset for
4 ; ebp-based frames. 4 ; ebp-based frames.
5 5
6 ; TODO(kschimpf) Find out why lc2i is needed. 6 ; TODO(kschimpf) Find out why lc2i is needed.
7 ; REQUIRES: allow_llvm_ir_as_input 7 ; REQUIRES: allow_llvm_ir_as_input
8 ; RUN: %lc2i -i %s --args -Om1 --target=x8632 --verbose none \ 8 ; RUN: %lc2i -i %s --args -Om1 --target=x8632 --verbose none \
9 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 9 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
10 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 10 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
(...skipping 20 matching lines...) Expand all
31 ; CHECK: sub esp, 24 31 ; CHECK: sub esp, 24
32 ; CHECK: mov eax, dword ptr [ebp + 12] 32 ; CHECK: mov eax, dword ptr [ebp + 12]
33 ; CHECK: mov dword ptr [ebp - 4], eax 33 ; CHECK: mov dword ptr [ebp - 4], eax
34 ; CHECK: sub esp, 128 34 ; CHECK: sub esp, 128
35 ; CHECK: mov dword ptr [ebp - 8], esp 35 ; CHECK: mov dword ptr [ebp - 8], esp
36 ; CHECK: mov eax, dword ptr [ebp - 8] 36 ; CHECK: mov eax, dword ptr [ebp - 8]
37 ; CHECK: mov dword ptr [ebp - 12], eax 37 ; CHECK: mov dword ptr [ebp - 12], eax
38 ; CHECK: movzx eax, byte ptr [ebp - 4] 38 ; CHECK: movzx eax, byte ptr [ebp - 4]
39 ; CHECK: mov dword ptr [ebp - 16], eax 39 ; CHECK: mov dword ptr [ebp - 16], eax
40 ; CHECK: sub esp, 16 40 ; CHECK: sub esp, 16
41 ; CHECK: mov ecx, dword ptr [ebp + 8] 41 ; CHECK: mov eax, dword ptr [ebp + 8]
42 ; CHECK: mov dword ptr [esp], ecx 42 ; CHECK: mov dword ptr [esp], eax
43 ; CHECK: mov ecx, dword ptr [ebp - 12] 43 ; CHECK: mov eax, dword ptr [ebp - 12]
44 ; CHECK: mov dword ptr [esp + 4], ecx 44 ; CHECK: mov dword ptr [esp + 4], eax
45 ; CHECK: mov ecx, dword ptr [ebp - 16] 45 ; CHECK: mov eax, dword ptr [ebp - 16]
46 ; CHECK: mov dword ptr [esp + 8], ecx 46 ; CHECK: mov dword ptr [esp + 8], eax
47 ; CHECK: call -4 47 ; CHECK: call -4
OLDNEW
« no previous file with comments | « src/IceTranslator.cpp ('k') | tests_lit/llvm2ice_tests/nop-insertion.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698