1 # RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-unknown -mcpu=pwr7 | FileCheck %s 2 3 # CHECK: icbi 2, 3 4 0x7c 0x02 0x1f 0xac 5 6 # CHECK: icbt 0, 5, 31 7 0x7c 0x05 0xf8 0x2c 8 9 # CHECK: dcbt 2, 3 10 0x7c 0x02 0x1a 0x2c 11 12 # CHECK: dcbtst 2, 3 13 0x7c 0x02 0x19 0xec 14 15 # CHECK: dcbt 2, 3, 10 16 0x7d 0x42 0x1a 0x2c 17 18 # CHECK: dcbtst 2, 3, 10 19 0x7d 0x42 0x19 0xec 20 21 # CHECK: dcbz 2, 3 22 0x7c 0x02 0x1f 0xec 23 24 # CHECK: dcbst 2, 3 25 0x7c 0x02 0x18 0x6c 26 27 # CHECK: isync 28 0x4c 0x00 0x01 0x2c 29 30 # CHECK: stwcx. 2, 3, 4 31 0x7c 0x43 0x21 0x2d 32 33 # CHECK: stdcx. 2, 3, 4 34 0x7c 0x43 0x21 0xad 35 36 # CHECK: ptesync 37 0x7c 0x40 0x04 0xac 38 39 # CHECK: eieio 40 0x7c 0x00 0x06 0xac 41 42 # CHECK: waitimpl 43 0x7c 0x40 0x00 0x7c 44 45 # CHECK: mbar 1 46 0x7c 0x20 0x06 0xac 47 48 # CHECK: dcbf 2, 3 49 0x7c 0x02 0x18 0xac 50 51 # CHECK: lbarx 2, 3, 4 52 0x7c 0x43 0x20 0x68 53 54 # CHECK: lharx 2, 3, 4 55 0x7c 0x43 0x20 0xe8 56 57 # CHECK: lwarx 2, 3, 4 58 0x7c 0x43 0x20 0x28 59 60 # CHECK: ldarx 2, 3, 4 61 0x7c 0x43 0x20 0xa8 62 63 # CHECK: lbarx 2, 3, 4, 1 64 0x7c 0x43 0x20 0x69 65 66 # CHECK: lharx 2, 3, 4, 1 67 0x7c 0x43 0x20 0xe9 68 69 # CHECK: lwarx 2, 3, 4, 1 70 0x7c 0x43 0x20 0x29 71 72 # CHECK: ldarx 2, 3, 4, 1 73 0x7c 0x43 0x20 0xa9 74 75 # CHECK: sync 76 0x7c 0x00 0x04 0xac 77 78 # CHECK: sync 79 0x7c 0x00 0x04 0xac 80 81 # CHECK: lwsync 82 0x7c 0x20 0x04 0xac 83 84 # CHECK: ptesync 85 0x7c 0x40 0x04 0xac 86 87 # CHECK: wait 88 0x7c 0x00 0x00 0x7c 89 90 # CHECK: waitrsv 91 0x7c 0x20 0x00 0x7c 92 93 # CHECK: waitimpl 94 0x7c 0x40 0x00 0x7c 95 96 # CHECK: mftb 2, 123 97 0x7c 0x5b 0x1a 0xe6 98 99 # CHECK: mftb 2, 268 100 0x7c 0x4c 0x42 0xe6 101 102 # CHECK: mftbu 2 103 0x7c 0x4d 0x42 0xe6 104 105