VM Maker: VMMaker.oscog-eem.2669.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM Maker: VMMaker.oscog-eem.2669.mcz

commits-2
 
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!