Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / VE / OR.s
blobd7014e6fa106c2ce86150ff6bae7a117ca07e492
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: or %s11, %s11, %s11
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x8b,0x0b,0x45]
8 or %s11, %s11, %s11
10 # CHECK-INST: or %s11, 63, %s11
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x3f,0x0b,0x45]
12 or %s11, 63, %s11
14 # CHECK-INST: or %s11, -1, %s11
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x7f,0x0b,0x45]
16 or %s11, -1, %s11
18 # CHECK-INST: or %s11, -64, %s11
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x40,0x0b,0x45]
20 or %s11, -64, %s11
22 # CHECK-INST: or %s11, -64, (32)1
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x20,0x40,0x0b,0x45]
24 or %s11, -64, (32)1
26 # CHECK-INST: or %s11, 63, (32)0
27 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x60,0x3f,0x0b,0x45]
28 or %s11, 63, (32)0