Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

14 lines
410 B
ArmAsm

; RUN: llvm-mc -triple avr -mattr=addsubiw -show-encoding < %s | FileCheck %s
foo:
sbiw r24, 1
sbiw r25:r24, 2
sbiw r24, 2
sbiw r27:r26, 3
; CHECK: sbiw r24, 1 ; encoding: [0x01,0x97]
; CHECK: sbiw r24, 2 ; encoding: [0x02,0x97]
; CHECK: sbiw r24, 2 ; encoding: [0x02,0x97]
; CHECK: sbiw r26, 3 ; encoding: [0x13,0x97]