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

Side by Side Diff: test/MC/X86/AlignedBundling/different-sections.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 two different executable sections with bundling. 6 # Test two different executable sections with bundling.
5 7
6 .bundle_align_mode 3 8 .bundle_align_mode 3
7 .section text1, "x" 9 .section text1, "x"
8 # CHECK: section text1 10 # CHECK: section text1
9 imull $17, %ebx, %ebp 11 imull $17, %ebx, %ebp
10 imull $17, %ebx, %ebp 12 imull $17, %ebx, %ebp
11 13
12 imull $17, %ebx, %ebp 14 imull $17, %ebx, %ebp
13 # CHECK: 6: nop 15 # CHECK: 6: nop
14 # CHECK-NEXT: 8: imull 16 # CHECK-NEXT: 8: imull
15 17
16 .section text2, "x" 18 .section text2, "x"
17 # CHECK: section text2 19 # CHECK: section text2
18 imull $17, %ebx, %ebp 20 imull $17, %ebx, %ebp
19 imull $17, %ebx, %ebp 21 imull $17, %ebx, %ebp
20 22
21 imull $17, %ebx, %ebp 23 imull $17, %ebx, %ebp
22 # CHECK: 6: nop 24 # CHECK: 6: nop
23 # CHECK-NEXT: 8: imull 25 # CHECK-NEXT: 8: imull
24 26
25 27
OLDNEW
« no previous file with comments | « test/MC/X86/AlignedBundling/bundle-group-too-large-error.s ('k') | test/MC/X86/AlignedBundling/labeloffset.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698