[Vm-dev] VM Maker: CogPools-ISAs-eem.9.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Dec 29 07:38:55 UTC 2019

Eliot Miranda uploaded a new version of CogPools-ISAs to project VM Maker:

==================== Summary ====================

Name: CogPools-ISAs-eem.9
Author: eem
Time: 28 December 2019, 11:38:54.929494 pm
UUID: f9295bd2-125a-4510-9203-6da96a4b3e2f
Ancestors: CogPools-ISAs-eem.8

Beef up ARMv8A64Opcodes class>>instructionIsAnyB:

=============== Diff against CogPools-ISAs-eem.8 ===============

Item was changed:
  ----- Method: ARMv8A64Opcodes class>>instructionIsAnyB: (in category 'testing') -----
  instructionIsAnyB: word
  	"C4.1	A64 instruction set encoding on page C4-252
  	 C4.1.3 Branches, Exception Generating and System instructions"
  	| op0_101_op1MSB |
  	op0_101_op1MSB := word bitShift: -25.
  	^op0_101_op1MSB = 2r0101010							"Conditional branch immediate"
  	or: [op0_101_op1MSB = 2r1101011						"Unconditional branch (register)"
+ 	or: [op0_101_op1MSB = 2r1001011						"Unconditional Branch (immediate)	BL"
+ 	or: [(op0_101_op1MSB bitAnd: 2r1111110) = 2r0001010]]]	"Unconditional branch (immediate) & Compare/Test and branch (immediate)"!
- 	or: [(op0_101_op1MSB bitAnd: 2r101010) = 2r0001010]]	"Unconditional branch (immediate) & Compare/Test and branch (immediate)"!

More information about the Vm-dev mailing list