Site Overlay

Go: Added more Power instructions to the assembler

Go: Added more Power instructions to the assembler

I added a few more missing instructions from ISA 2.05 to 2.07 to the Go assembler. These will be used in upcoming runtime performance optimizations shortly.

In addition, I also fixed a few bugs and added more opcode assembling rules, including:

  • Fix for rldicr/rldicl instructions. Now they accept any 6-bit mask as they are supposed to.
  • Added special treatment to support extended VSX mnemonics that take a floating point or Altivec register as an argument, instead of a VSX register.
  • Added support for two missing cases for 3-operand X-form floating point instructions and 2-operand X-form instructions.

Committed as 85ecc5.

by Carlos Eduardo Seo