Eliot Miranda uploaded a new version of CogPools-ISAs to project VM Maker:
http://source.squeak.org/VMMaker/CogPools-ISAs-eem.8.mcz==================== Summary ====================
Name: CogPools-ISAs-eem.8
Author: eem
Time: 28 December 2019, 1:08:58.512209 pm
UUID: 06e90eb9-adf6-4eff-bb18-573ea12e5312
Ancestors: CogPools-ISAs-eem.7
Offset extraction from branch clean-ups and corrections.
=============== Diff against CogPools-ISAs-eem.7 ===============
Item was changed:
----- Method: ARMv8A64Opcodes class>>extractOffsetFromBImm19: (in category 'accessing') -----
extractOffsetFromBImm19: word
- self halt.
^(word bitAnd: (1 bitShift: 24) - 1) - ((word bitAnd: (1 bitShift: 23)) bitShift: 2) bitShift: -5!
Item was changed:
----- Method: ARMv8A64Opcodes class>>instructionIsBImm19: (in category 'testing') -----
instructionIsBImm19: word
"C4.1.3 Branches, Exception Generating and System instructions C4-257"
| op0_101_op1MSB |
op0_101_op1MSB := word >> 24.
+ op0_101_op1MSB = 2r0101010 ifTrue: [self halt].
+ ^ op0_101_op1MSB = 2r1010100 "conditional branch immediate 19 23-5"
- ^ op0_101_op1MSB = 2r0101010 "conditional branch immediate 19 23-5"
or: [op0_101_op1MSB = 2r0011010 "compare-and-branch immediate 19 23-5"
or: [op0_101_op1MSB = 2r1011010]] "compare-and-branch immediate 19 23-5"!