[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / MC / ARM / sub-expr-imm.s
blob73011896842f6380c85639db2bc6ab6384982211
1 @ RUN: llvm-mc < %s -triple armv7-unknown-unknown -filetype=obj | llvm-objdump -d - | FileCheck %s
3 @ Test that makes sure both label and immediate expression
4 @ are evaluated to the same values.
6 AES_Te:
7 .word 1,2,3,4,5,6
8 .word 1,2,3,4,5,6
9 .word 1,2,3,4,5,6
10 .word 1,2,3,4,5,6
11 .word 1,2,3,4,5,6
12 .word 1,2,3,4,5,6
13 .word 1,2,3,4,5,6
14 .word 1,2,3,4,5,6
15 .word 1,2,3,4,5,6
16 .word 1,2,3,4,5,6
17 .word 1,2,3,4,5,6
18 @ CHECK: AES_encrypt:
19 AES_encrypt:
20 @ CHECK: sub r10, r3, #264
21 sub r10,r3,#(AES_encrypt-AES_Te)
22 @ CHECK: sub r10, r3, #264
23 sub r10,r3,#(6*11*4)
24 Data:
25 @ CHECK: 08 01 00 00
26 .word (AES_encrypt-AES_Te)
27 @ CHECK: 08 01 00 00
28 .word (6*11*4)