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

Side by Side Diff: test/MC/X86/AlignedBundling/pad-bundle-groups.s

Issue 1133723005: Cherry-pick r234714: [MC] Write padding into fragments when -mc-relax-all flag is used (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Rebase Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \ 1 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \
2 # RUN: | llvm-objdump -disassemble -no-show-raw-insn - | FileCheck %s 2 # RUN: | llvm-objdump -disassemble -no-show-raw-insn - | FileCheck %s
3 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mc-relax-all %s -o - \
4 # RUN: | llvm-objdump -disassemble -no-show-raw-insn - | FileCheck %s
3 5
4 # Test some variations of padding for bundle-locked groups. 6 # Test some variations of padding for bundle-locked groups.
5 7
6 .text 8 .text
7 foo: 9 foo:
8 .bundle_align_mode 4 10 .bundle_align_mode 4
9 11
10 # Each of these callq instructions is 5 bytes long 12 # Each of these callq instructions is 5 bytes long
11 callq bar 13 callq bar
12 callq bar 14 callq bar
(...skipping 24 matching lines...) Expand all
37 callq bar 39 callq bar
38 .bundle_unlock 40 .bundle_unlock
39 # And here we'll need a 11-byte NOP 41 # And here we'll need a 11-byte NOP
40 # CHECK: 30: callq 42 # CHECK: 30: callq
41 # CHECK: 35: nop 43 # CHECK: 35: nop
42 # CHECK-NEXT: 40: callq 44 # CHECK-NEXT: 40: callq
43 # CHECK-NEXT: 45: callq 45 # CHECK-NEXT: 45: callq
44 46
45 47
46 48
OLDNEW
« no previous file with comments | « test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s ('k') | test/MC/X86/AlignedBundling/relax-at-bundle-end.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698