[Vm-dev] VM Maker: CMakeVMMaker-EstebanLorenzano.191.mcz

Igor Stasenko siguctua at gmail.com
Thu Feb 14 21:39:03 UTC 2013


We're living in wonderful time of wonders and mysteries :)
Computer science as a precise discipline is being long forgotten,
today's shamans casting spells and incarnations to please the god
Compiler and make things work!

On 14 February 2013 19:40, Esteban Lorenzano <estebanlm at gmail.com> wrote:
>
> is gcc too 4.6.3
>
> I wonder why the difference too... another interesting thing is that with -O3 -fno-tree-pre it works anyway (but there is not speed gain, so I returned to -O2 2just in case" :)
>
> Esteban
>
> On Feb 14, 2013, at 5:59 PM, Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com> wrote:
>
>>
>> Interesting that we did not find the same set...
>> I presume this is VMMaker-oscog.
>> Which gcc --version ?
>>
>> Nicolas
>>
>> 2013/2/14  <commits at source.squeak.org>:
>>>
>>> Esteban Lorenzano uploaded a new version of CMakeVMMaker to project VM Maker:
>>> http://source.squeak.org/VMMaker/CMakeVMMaker-EstebanLorenzano.191.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: CMakeVMMaker-EstebanLorenzano.191
>>> Author: EstebanLorenzano
>>> Time: 14 February 2013, 5:29:19.952 pm
>>> UUID: 9afdec65-270e-443e-b750-d9c9f76624f1
>>> Ancestors: CMakeVMMaker-EstebanLorenzano.190
>>>
>>> - fixed unix compilation parameters
>>>
>>> =============== Diff against CMakeVMMaker-EstebanLorenzano.190 ===============
>>>
>>> Item was changed:
>>>  ----- Method: CogUnixConfig>>compilerFlagsRelease (in category 'compiler flags') -----
>>>  compilerFlagsRelease
>>> + "
>>> + THIS FLAGS ARE CREASHING COMPILER
>>>
>>> + -fschedule-insns2
>>> + -fschedule-insns
>>> -       ^ '-g0 -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1
>>> -       -DNO_VM_PROFILE=1 -DDEBUGVM=0'
>>>
>>> + THIS FLAGS ARE CRASHING VM
>>> + -ftree-pre
>>> +
>>> + THIS FLAGS ARE WORKING
>>> + -O1 -fthread-jumps -falign-functions -falign-jumps -falign-loops -falign-labels -fcrossjumping -fcse-follow-jumps -fcse-skip-blocks -fdelete-null-pointer-checks -fdevirtualize -fexpensive-optimizations -fgcse -fgcse-lm -finline-small-functions -findirect-inlining -fipa-sra -foptimize-sibling-calls -fpartial-inlining -fpeephole2 -fregmove -freorder-blocks -frerun-cse-after-loop -fcaller-saves -freorder-functions -fsched-interblock -fsched-spec -fstrict-aliasing -fstrict-overflow  -ftree-switch-conversion -ftree-vrp
>>> +
>>> + THIS IS LIKE: -O2 -fno-tree-pre
>>> + "
>>> +
>>> +       ^ '-g0 -O2 -fno-tree-pre -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DDEBUGVM=0'!
>>> - !
>>>
>



-- 
Best regards,
Igor Stasenko.


More information about the Vm-dev mailing list