Geeta,

If you have clang or gcc >= 4.9 handy, you can run this after compiling
gem5 with ³--with-ubsan². This should help you track down where a
potential overflow happens, as it is treated as a runtime error and will
show up in simerr.

Good luck with the debugging.

Andreas

On 18/11/2014 14:01, "Stephan Diestelhorst via gem5-users"
<gem5-users@gem5.org> wrote:

>On Friday 14 November 2014 13:42:57 Geeta Patil via gem5-users wrote:
>> I got stats.txt after executing following command:
>>
>> ./build/ALPHA/gem5.opt configs/example/ruby_fs.py -n 2 --l1i_size=32kB
>> --l1d_size=32kB --l2_size=8MB --num-l2caches=8 -b barnes
>>
>> When I analyze content of stat.txt I get number of instruction
>> simulated as:
>>   sim_insts   12184940560   # Number of instructions simulated
>>
>> but when Check the count of total LOAD  and IFETCH events occurring it
>>is
>> very big number :
>>
>> system.ruby.l1_cntrl0.Load::total        18446744071863115776
>> system.ruby.l1_cntrl0.Ifetch::total      18446744073013530624
>
>To me, these numbers smell of numeric over-/ underflow, or miscasting.
>In hex, these are:
>
>0xFFFFFFFF91F1A000
>0xFFFFFFFFD6839000
>
>So these can either be stack pointers, negative numbers, or bogus 32 bit
>values.  Not sure what Ruby is doing here.
>
>--
>Sincerely,
>  Stephan
>
>Stephan Diestelhorst
>Staff Engineer
>ARM R&D Systems
>
>
>-- IMPORTANT NOTICE: The contents of this email and any attachments are
>confidential and may also be privileged. If you are not the intended
>recipient, please notify the sender immediately and do not disclose the
>contents to any other person, use it for any purpose, or store or copy
>the information in any medium.  Thank you.
>
>ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>Registered in England & Wales, Company No:  2557590
>ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>Registered in England & Wales, Company No:  2548782
>
>_______________________________________________
>gem5-users mailing list
>gem5-users@gem5.org
>http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No:  2548782

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to