[Vm-dev] VM Maker: VMMaker.oscog-eem.2669.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jan 21 19:03:49 UTC 2020


Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2669.mcz

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

Name: VMMaker.oscog-eem.2669
Author: eem
Time: 21 January 2020, 11:03:29.692447 am
UUID: bb231320-389e-488a-a284-08d69c73a131
Ancestors: VMMaker.oscog-eem.2668

Cogit: note to self and others...

=============== Diff against VMMaker.oscog-eem.2668 ===============

Item was changed:
  ----- Method: Cogit>>AddCq:R:R: (in category 'abstract instructions') -----
  AddCq: quickConstant R: srcReg R: destReg
+ 	"N.B. if the condition codes don't require setting and three address arithmetic
+ 	 is unavailable, then LoadEffectiveAddressMw:r:R: can be used instead."
  	<inline: false>
  	<returnTypeC: #'AbstractInstruction *'>
  	| first |
  	backEnd hasThreeAddressArithmetic ifTrue:
  		[^self gen: AddCqRR quickConstant: quickConstant operand: srcReg operand: destReg].
  	srcReg = destReg ifTrue:
  		[^self gen: AddCqR quickConstant: quickConstant operand: destReg].
  	first := self gen: MoveRR operand: srcReg operand: destReg.
  	self gen: AddCqR quickConstant: quickConstant operand: destReg.
  	^first!



More information about the Vm-dev mailing list