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

Side by Side Diff: test/MC/AsmParser/exprs.s

Issue 183273009: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry Created 6 years, 9 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
« no previous file with comments | « test/ExecutionEngine/MCJIT/eh.ll ('k') | test/Transforms/GlobalOpt/alias-used.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 // RUN: llvm-mc -triple i386-unknown-unknown %s > %t 1 // RUN: llvm-mc -triple i386-unknown-unknown %s > %t
2 2
3 .macro check_expr 3 .macro check_expr
4 .if ($0) != ($1) 4 .if ($0) != ($1)
5 .abort Unexpected $0 != $1. 5 .abort Unexpected $0 != $1.
6 .endif 6 .endif
7 .endmacro 7 .endmacro
8 8
9 .text 9 .text
10 g: 10 g:
(...skipping 27 matching lines...) Expand all
38 check_expr 3 - 2, 1 38 check_expr 3 - 2, 1
39 check_expr 1 ^ 3, 2 39 check_expr 1 ^ 3, 2
40 check_expr 1 && 2, 1 40 check_expr 1 && 2, 1
41 check_expr 3 && 0, 0 41 check_expr 3 && 0, 0
42 check_expr 0 && 1, 0 42 check_expr 0 && 1, 0
43 check_expr 1 || 2, 1 43 check_expr 1 || 2, 1
44 check_expr 0 || 1, 1 44 check_expr 0 || 1, 1
45 check_expr 0 || 0, 0 45 check_expr 0 || 0, 0
46 check_expr 1 + 2 < 3 + 4, 1 46 check_expr 1 + 2 < 3 + 4, 1
47 check_expr 1 << 8 - 1, 128 47 check_expr 1 << 8 - 1, 128
48 check_expr 3 * 9 - 2 * 9 + 1, 10
49 48
50 .set c, 10 49 .set c, 10
51 check_expr c + 1, 11 50 check_expr c + 1, 11
52 51
53 d = e + 10 52 d = e + 10
54 .long d 53 .long d
55 54
56 f = g - h + 5 55 f = g - h + 5
57 .long f 56 .long f
58 57
(...skipping 11 matching lines...) Expand all
70 movw $8, (42)+66(%eax) 69 movw $8, (42)+66(%eax)
71 70
72 // "." support: 71 // "." support:
73 _f0: 72 _f0:
74 L0: 73 L0:
75 jmp L1 74 jmp L1
76 .long . - L0 75 .long . - L0
77 L1: 76 L1:
78 jmp A 77 jmp A
79 .long . - L1 78 .long . - L1
OLDNEW
« no previous file with comments | « test/ExecutionEngine/MCJIT/eh.ll ('k') | test/Transforms/GlobalOpt/alias-used.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698