2013-12-20 00:13:01 +08:00
|
|
|
# RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-unknown -mcpu=pwr7 | FileCheck %s
|
|
|
|
|
|
|
|
# CHECK: icbi 2, 3
|
|
|
|
0x7c 0x02 0x1f 0xac
|
|
|
|
|
2014-08-24 07:21:04 +08:00
|
|
|
# CHECK: icbt 0, 5, 31
|
|
|
|
0x7c 0x05 0xf8 0x2c
|
|
|
|
|
2013-12-20 00:13:01 +08:00
|
|
|
# CHECK: dcbt 2, 3
|
|
|
|
0x7c 0x02 0x1a 0x2c
|
|
|
|
|
|
|
|
# CHECK: dcbtst 2, 3
|
|
|
|
0x7c 0x02 0x19 0xec
|
|
|
|
|
2015-04-24 06:47:57 +08:00
|
|
|
# CHECK: dcbt 2, 3, 10
|
|
|
|
0x7d 0x42 0x1a 0x2c
|
|
|
|
|
|
|
|
# CHECK: dcbtst 2, 3, 10
|
|
|
|
0x7d 0x42 0x19 0xec
|
|
|
|
|
2013-12-20 00:13:01 +08:00
|
|
|
# CHECK: dcbz 2, 3
|
|
|
|
0x7c 0x02 0x1f 0xec
|
|
|
|
|
|
|
|
# CHECK: dcbst 2, 3
|
|
|
|
0x7c 0x02 0x18 0x6c
|
|
|
|
|
|
|
|
# CHECK: isync
|
|
|
|
0x4c 0x00 0x01 0x2c
|
|
|
|
|
|
|
|
# CHECK: stwcx. 2, 3, 4
|
|
|
|
0x7c 0x43 0x21 0x2d
|
|
|
|
|
|
|
|
# CHECK: stdcx. 2, 3, 4
|
|
|
|
0x7c 0x43 0x21 0xad
|
|
|
|
|
2015-04-24 02:30:38 +08:00
|
|
|
# CHECK: ptesync
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x40 0x04 0xac
|
|
|
|
|
|
|
|
# CHECK: eieio
|
|
|
|
0x7c 0x00 0x06 0xac
|
|
|
|
|
2015-04-24 02:30:38 +08:00
|
|
|
# CHECK: waitimpl
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x40 0x00 0x7c
|
|
|
|
|
2014-07-30 07:16:31 +08:00
|
|
|
# CHECK: mbar 1
|
|
|
|
0x7c 0x20 0x06 0xac
|
|
|
|
|
2013-12-20 00:13:01 +08:00
|
|
|
# CHECK: dcbf 2, 3
|
|
|
|
0x7c 0x02 0x18 0xac
|
|
|
|
|
2015-03-11 04:51:07 +08:00
|
|
|
# CHECK: lbarx 2, 3, 4
|
|
|
|
0x7c 0x43 0x20 0x68
|
|
|
|
|
|
|
|
# CHECK: lharx 2, 3, 4
|
|
|
|
0x7c 0x43 0x20 0xe8
|
|
|
|
|
|
|
|
# CHECK: lwarx 2, 3, 4
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x43 0x20 0x28
|
|
|
|
|
2015-03-11 04:51:07 +08:00
|
|
|
# CHECK: ldarx 2, 3, 4
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x43 0x20 0xa8
|
|
|
|
|
2015-03-11 04:51:07 +08:00
|
|
|
# CHECK: lbarx 2, 3, 4, 1
|
|
|
|
0x7c 0x43 0x20 0x69
|
|
|
|
|
|
|
|
# CHECK: lharx 2, 3, 4, 1
|
|
|
|
0x7c 0x43 0x20 0xe9
|
|
|
|
|
|
|
|
# CHECK: lwarx 2, 3, 4, 1
|
|
|
|
0x7c 0x43 0x20 0x29
|
|
|
|
|
|
|
|
# CHECK: ldarx 2, 3, 4, 1
|
|
|
|
0x7c 0x43 0x20 0xa9
|
|
|
|
|
2013-12-20 00:13:01 +08:00
|
|
|
# CHECK: sync 0
|
|
|
|
0x7c 0x00 0x04 0xac
|
|
|
|
|
|
|
|
# CHECK: sync 0
|
|
|
|
0x7c 0x00 0x04 0xac
|
|
|
|
|
2015-04-24 02:30:38 +08:00
|
|
|
# CHECK: lwsync
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x20 0x04 0xac
|
|
|
|
|
2015-04-24 02:30:38 +08:00
|
|
|
# CHECK: ptesync
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x40 0x04 0xac
|
|
|
|
|
2015-04-24 02:30:38 +08:00
|
|
|
# CHECK: wait
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x00 0x00 0x7c
|
|
|
|
|
2015-04-24 02:30:38 +08:00
|
|
|
# CHECK: waitrsv
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x20 0x00 0x7c
|
|
|
|
|
2015-04-24 02:30:38 +08:00
|
|
|
# CHECK: waitimpl
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x40 0x00 0x7c
|
|
|
|
|
|
|
|
# CHECK: mftb 2, 123
|
|
|
|
0x7c 0x5b 0x1a 0xe6
|
|
|
|
|
|
|
|
# CHECK: mftb 2, 268
|
|
|
|
0x7c 0x4c 0x42 0xe6
|
|
|
|
|
2015-04-24 02:30:38 +08:00
|
|
|
# CHECK: mftbu 2
|
2013-12-20 00:13:01 +08:00
|
|
|
0x7c 0x4d 0x42 0xe6
|
|
|
|
|