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

Side by Side Diff: test/MC/X86/AlignedBundling/relax-at-bundle-end.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 that an instruction near a bundle end gets properly padded 6 # Test that an instruction near a bundle end gets properly padded
5 # after it is relaxed. 7 # after it is relaxed.
6 .text 8 .text
7 foo: 9 foo:
8 .bundle_align_mode 5 10 .bundle_align_mode 5
9 .rept 29 11 .rept 29
10 push %rax 12 push %rax
11 .endr 13 .endr
12 # CHECK: 1c: push 14 # CHECK: 1c: push
13 # CHECK: 1d: nop 15 # CHECK: 1d: nop
14 # CHECK: 20: jne 16 # CHECK: 20: jne
15 jne 0x100 17 jne 0x100
16 18
OLDNEW
« no previous file with comments | « test/MC/X86/AlignedBundling/pad-bundle-groups.s ('k') | test/MC/X86/AlignedBundling/relax-in-bundle-group.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698