[Vm-dev] VM Maker: VMMaker.oscog-tpr.1230.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 21 03:20:47 UTC 2015


tim Rowledge uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-tpr.1230.mcz

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

Name: VMMaker.oscog-tpr.1230
Author: tpr
Time: 20 April 2015, 8:19:17.483 pm
UUID: e3e97b8a-ab52-415b-aaaa-ae57a7aabff7
Ancestors: VMMaker.oscog-eem.1229

With the change to Word access for machineCode on ARM, I think we should probably fill any nops in word-wise or some odd effects may occur.

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

Item was changed:
  ----- Method: CogARMCompiler>>concretizeAlignmentNops (in category 'generate machine code - concretize') -----
  concretizeAlignmentNops
  	<inline: true>
  	"fill any slots with NOPs - in this case mov  r0, r0 - which is the NOP I always used to use"
  	self assert: machineCodeSize \\ 4 = 0.
  	0 to: machineCodeSize - 1 by: 4 do:
+ 		[:p| machineCode at: p put: 16rE1A00000]!
- 		[:p| machineCode 
- 			at: p put: 16r0;
- 			at: p+1 put: 16r0;
- 			at: p+2 put: 16rA0;
- 			at: p+3 put: 16rE1]!



More information about the Vm-dev mailing list