[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / AVR / inst-andi.s
blob14f85bbd660100703fa581e915f390a8dd9afdd7
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump --no-print-imm-hex -dr - | FileCheck --check-prefix=CHECK-INST %s
4 foo:
5 andi r16, 255
6 andi r29, 190
7 andi r22, 172
8 andi r27, 92
10 andi r20, BAR
12 ; CHECK: andi r16, 255 ; encoding: [0x0f,0x7f]
13 ; CHECK: andi r29, 190 ; encoding: [0xde,0x7b]
14 ; CHECK: andi r22, 172 ; encoding: [0x6c,0x7a]
15 ; CHECK: andi r27, 92 ; encoding: [0xbc,0x75]
17 ; CHECK: andi r20, BAR ; encoding: [0x40'A',0x70]
18 ; CHECK: ; fixup A - offset: 0, value: BAR, kind: fixup_ldi
20 ; CHECK-INST: andi r16, 255
21 ; CHECK-INST: andi r29, 190
22 ; CHECK-INST: andi r22, 172
23 ; CHECK-INST: andi r27, 92
25 ; CHECK-INST: andi r20, 0