[Vm-dev] VM Maker: VMMaker.oscog-rmacnak.1514.mcz
Eliot Miranda
eliot.miranda at gmail.com
Fri Nov 13 00:59:49 UTC 2015
On Thu, Nov 12, 2015 at 4:59 PM, Eliot Miranda <eliot.miranda at gmail.com>
wrote:
> Hi Ryan,
>
> On Wed, Nov 11, 2015 at 8:50 PM, <commits at source.squeak.org> wrote:
>
>>
>> Ryan Macnak uploaded a new version of VMMaker to project VM Maker:
>> http://source.squeak.org/VMMaker/VMMaker.oscog-rmacnak.1514.mcz
>>
>> ==================== Summary ====================
>>
>> Name: VMMaker.oscog-rmacnak.1514
>> Author: rmacnak
>> Time: 11 November 2015, 8:50:09.071 pm
>> UUID: 8504ecc7-5b6f-42d1-90de-3176997a24f7
>> Ancestors: VMMaker.oscog-tpr.1513
>>
>> Initial commit of MIPSEL backend.
>>
>
> Woot! And...
>
>
>> =============== Diff against VMMaker.oscog-tpr.1513 ===============
>>
>
> [deletia]
>
> Item was added:
>> + ----- Method: CogMIPSELCompiler>>concretizeRetN (in category 'generate
>> machine code - concretize') -----
>> + concretizeRetN
>> + <var: #offset type: #sqInt>
>> + | offset |
>> + offset := operands at: 0.
>> + self machineCodeAt: 0 put: (self jR: RA).
>> + offset = 0
>> + ifTrue: [self machineCodeAt: 4 put: self nop "Delay slot"]
>> + ifFalse: [self machineCodeAt: 4 put: (self addiuR: SP R:
>> SP C: offset) "We actually get to fill a delay slot!!"].
>> + ^machineCodeSize := 8!
>>
>
> I well remember trying to dil;l delay slots in the VW code generator. I
> suspect there's a reason why so few have them any more :-)
>
"fill" of course.
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20151112/f173c5e2/attachment.htm
More information about the Vm-dev
mailing list