[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / llvm / test / MC / AVR / inst-sbc.s
blob22a9bb52548b445bfcb6d1186f67161ee9f9d368
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 sbc r0, r15
6 sbc r15, r0
7 sbc r16, r31
8 sbc r31, r16
10 ; CHECK: sbc r0, r15 ; encoding: [0x0f,0x08]
11 ; CHECK: sbc r15, r0 ; encoding: [0xf0,0x08]
12 ; CHECK: sbc r16, r31 ; encoding: [0x0f,0x0b]
13 ; CHECK: sbc r31, r16 ; encoding: [0xf0,0x0b]
15 ; CHECK-INST: sbc r0, r15
16 ; CHECK-INST: sbc r15, r0
17 ; CHECK-INST: sbc r16, r31
18 ; CHECK-INST: sbc r31, r16