mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-24 11:36:10 +00:00
64af2512f1
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
21 lines
431 B
ArmAsm
21 lines
431 B
ArmAsm
; RUN: llvm-mc -triple avr -mattr=elpm,elpmx -show-encoding < %s | FileCheck %s
|
|
|
|
|
|
foo:
|
|
|
|
elpm
|
|
|
|
elpm r3, Z
|
|
elpm r23, Z
|
|
|
|
elpm r8, Z+
|
|
elpm r0, Z+
|
|
|
|
; CHECK: elpm ; encoding: [0xd8,0x95]
|
|
|
|
; CHECK: elpm r3, Z ; encoding: [0x36,0x90]
|
|
; CHECK: elpm r23, Z ; encoding: [0x76,0x91]
|
|
|
|
; CHECK: elpm r8, Z+ ; encoding: [0x87,0x90]
|
|
; CHECK: elpm r0, Z+ ; encoding: [0x07,0x90]
|