[Vm-dev] VM Maker: VMMaker.oscog-eem.1281.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon May 4 22:32:17 UTC 2015
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.1281.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.1281
Author: eem
Time: 4 May 2015, 3:30:20.072 pm
UUID: cc082267-e8f9-4e94-819e-a1862c86ac81
Ancestors: VMMaker.oscog-tpr.1280
empty log message
=============== Diff against VMMaker.oscog-tpr.1280 ===============
Item was changed:
----- Method: CogARMCompiler>>isAddressRelativeToVarBase: (in category 'testing') -----
isAddressRelativeToVarBase: varAddress
<inline: true>
+ <var: #varAddress type: #usqInt>
- <var: #varAddress type: #sqInt>
"Support for addressing variables off the dedicated VarBaseReg"
^varAddress notNil
and: [varAddress >= cogit varBaseAddress
and: [varAddress - cogit varBaseAddress < (1 << 12)]]!
Item was changed:
----- Method: SimpleStackBasedCogit>>genPrimitiveBitAnd (in category 'primitive generators') -----
genPrimitiveBitAnd
| jumpNotSI |
<var: #jumpNotSI type: #'AbstractInstruction *'>
+ self genLoadArgAtDepth: 0 into: TempReg.
- self genLoadArgAtDepth: 0 into: Arg0Reg.
self MoveR: TempReg R: ClassReg.
jumpNotSI := objectRepresentation genJumpNotSmallIntegerInScratchReg: TempReg.
"Whether the SmallInteger tags are zero or non-zero, anding them together will preserve them."
self AndR: ClassReg R: ReceiverResultReg.
self RetN: (self primRetNOffsetFor: 1).
jumpNotSI jmpTarget: self Label.
^0!
More information about the Vm-dev
mailing list