mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-19 04:29:45 +00:00

Summary: This adds all of the AVR machine code tests. Reviewers: arsenm, kparzysz Subscribers: wdng, japaric Differential Revision: https://reviews.llvm.org/D26387 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286417 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
342 B
ArmAsm
15 lines
342 B
ArmAsm
; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
|
|
|
|
|
|
foo:
|
|
|
|
dec r26
|
|
dec r3
|
|
dec r24
|
|
dec r20
|
|
|
|
; CHECK: dec r26 ; encoding: [0xaa,0x95]
|
|
; CHECK: dec r3 ; encoding: [0x3a,0x94]
|
|
; CHECK: dec r24 ; encoding: [0x8a,0x95]
|
|
; CHECK: dec r20 ; encoding: [0x4a,0x95]
|