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

Side by Side Diff: test/MC/X86/AlignedBundling/relax-in-bundle-group.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 - | FileCheck %s 2 # RUN: | llvm-objdump -disassemble - | FileCheck %s
3 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -mc-relax-all %s -o - \
4 # RUN: | llvm-objdump -disassemble - | FileCheck %s
3 5
4 # Test that instructions inside bundle-locked groups are relaxed even if their 6 # Test that instructions inside bundle-locked groups are relaxed even if their
5 # fixup is short enough not to warrant relaxation on its own. 7 # fixup is short enough not to warrant relaxation on its own.
6 8
7 .text 9 .text
8 foo: 10 foo:
9 .bundle_align_mode 4 11 .bundle_align_mode 4
10 pushq %rbp 12 pushq %rbp
11 13
12 movl %edi, %ebx 14 movl %edi, %ebx
(...skipping 20 matching lines...) Expand all
33 # CHECK: 28: e9 35 # CHECK: 28: e9
34 36
35 .bundle_unlock 37 .bundle_unlock
36 38
37 .L_ELSE: 39 .L_ELSE:
38 imull %ebx, %eax 40 imull %ebx, %eax
39 .L_RET: 41 .L_RET:
40 42
41 popq %rbx 43 popq %rbx
42 44
OLDNEW
« no previous file with comments | « test/MC/X86/AlignedBundling/relax-at-bundle-end.s ('k') | test/MC/X86/AlignedBundling/single-inst-bundling.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698