mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-02 18:06:17 +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
13 lines
340 B
ArmAsm
13 lines
340 B
ArmAsm
; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
|
|
|
|
foo:
|
|
neg r15
|
|
neg r1
|
|
neg r22
|
|
neg r31
|
|
|
|
; CHECK: neg r15 ; encoding: [0xf1,0x94]
|
|
; CHECK: neg r1 ; encoding: [0x11,0x94]
|
|
; CHECK: neg r22 ; encoding: [0x61,0x95]
|
|
; CHECK: neg r31 ; encoding: [0xf1,0x95]
|