[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / AVR / inst-and.s
blobaa62a3114a204bc58a0a36338411bde42c78f990
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump -dr - | FileCheck --check-prefix=CHECK-INST %s
4 foo:
5 and r0, r15
6 and r15, r0
7 and r16, r31
8 and r31, r16
10 ; CHECK: and r0, r15 ; encoding: [0x0f,0x20]
11 ; CHECK: and r15, r0 ; encoding: [0xf0,0x20]
12 ; CHECK: and r16, r31 ; encoding: [0x0f,0x23]
13 ; CHECK: and r31, r16 ; encoding: [0xf0,0x23]
15 ; CHECK-INST: and r0, r15
16 ; CHECK-INST: and r15, r0
17 ; CHECK-INST: and r16, r31
18 ; CHECK-INST: and r31, r16