[llvm] [PowerPC] Add a set of extended mnemonics that are missing from Power 10. (PR #73003)

Stefan Pintilie via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 18:58:19 PST 2023


================
@@ -53,8 +53,8 @@
               wait 4
 
 # CHECK: error: invalid operand for instruction
-# CHECK-NEXT: sync 4
-              sync 4
----------------
stefanp-ibm wrote:

Yes this is unfortunately required. On Power 10 we now have 3 bits instead of just 2 bits for the `sync` instruction and therefore a value of 4 for the argument is now valid. In order for this test to make sure that we get the invalid instruction we need a value that doesn't fit in 3 bits.

https://github.com/llvm/llvm-project/pull/73003


More information about the llvm-commits mailing list