Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / VE / SRD.s
blobe66dcf7a4bfa37e2f0b6c8ed00db5d6b8cdabe80
1 # RUN: llvm-mc -triple=ve --show-encoding < %s \
2 # RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 # RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
4 # RUN: | FileCheck %s --check-prefixes=CHECK-INST
6 # CHECK-INST: srd %s11, %s11, %s11
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x8b,0x0b,0x74]
8 srd %s11, %s11, %s11
10 # CHECK-INST: srd %s11, %s11, 63
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x3f,0x0b,0x74]
12 srd %s11, %s11, 63
14 # CHECK-INST: srd %s11, %s11, 127
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x7f,0x0b,0x74]
16 srd %s11, %s11, 127
18 # CHECK-INST: srd %s11, %s11, 64
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x40,0x0b,0x74]
20 srd %s11, %s11, 64
22 # CHECK-INST: srd %s11, (32)1, 64
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x20,0x40,0x0b,0x74]
24 srd %s11, (32)1, 64
26 # CHECK-INST: srd %s11, (32)0, 63
27 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x60,0x3f,0x0b,0x74]
28 srd %s11, (32)0, 63