Mercurial > hg > CbC > CbC_llvm
diff test/MC/AVR/inst-lat.s @ 120:1172e4bd9c6f
update 4.0.0
author | mir3636 |
---|---|
date | Fri, 25 Nov 2016 19:14:25 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/MC/AVR/inst-lat.s Fri Nov 25 19:14:25 2016 +0900 @@ -0,0 +1,14 @@ +; RUN: llvm-mc -triple avr -mattr=rmw -show-encoding < %s | FileCheck %s + + +foo: + + lat Z, r13 + lat Z, r0 + lat Z, r31 + lat Z, r3 + +; CHECK: lat Z, r13 ; encoding: [0xd7,0x92] +; CHECK: lat Z, r0 ; encoding: [0x07,0x92] +; CHECK: lat Z, r31 ; encoding: [0xf7,0x93] +; CHECK: lat Z, r3 ; encoding: [0x37,0x92]