1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

[PowerPC] Add some existing instructions to ppc64-encoding-bookII.s

The test case had a couple of FIXMEs where the instruction is in
fact already supported by the back-end.  In some other case, while
the generic form of the instruction is not yet supported, a
specialized form is.  This adds tests for those already supported
instructions / instruction forms.

llvm-svn: 185347
This commit is contained in:
Ulrich Weigand 2013-07-01 16:52:55 +00:00
parent 9dfc60786f
commit ec5b1279ef

View File

@ -3,11 +3,15 @@
# Cache management instruction
# FIXME: icbi 2, 3
# FIXME: icbt 1, 2, 3
# CHECK: icbi 2, 3 # encoding: [0x7c,0x02,0x1f,0xac]
icbi 2, 3
# FIXME: dcbt 2, 3, 10
# CHECK: dcbt 2, 3 # encoding: [0x7c,0x02,0x1a,0x2c]
dcbt 2, 3
# FIXME: dcbtst 2, 3, 10
# CHECK: dcbtst 2, 3 # encoding: [0x7c,0x02,0x19,0xec]
dcbtst 2, 3
# CHECK: dcbz 2, 3 # encoding: [0x7c,0x02,0x1f,0xec]
dcbz 2, 3
# CHECK: dcbst 2, 3 # encoding: [0x7c,0x02,0x18,0x6c]
@ -16,7 +20,8 @@
# Synchronization instructions
# FIXME: isync
# CHECK: isync # encoding: [0x4c,0x00,0x01,0x2c]
isync
# FIXME: lbarx 2, 3, 4, 1
# FIXME: lharx 2, 3, 4, 1