On 5/10/12 4:21 PM, "Stephan Diestelhorst"
<[email protected]> wrote:

>Am Montag 07 Mai 2012, 19:57:05 schrieb Hui Kang:
>> More information Š.
>> The code snippet is from ooo-pipe.cpp is
>> 
>> 
>>     if unlikely (isclass(uop.opcode, OPCLASS_BRANCH)) {
>> 
>>         assert(uop.eom);
>> 
>> If the uop is a branch class opcode and it should be set an eom. This
>>looks an exception for this case.
>> Any comment?
>
>Hi Hui,
>  maybe you should also post this on the Marss86 mailing list.  It
>would be interesting which instruction actually triggered the fault.
>You can either do an objdump of the right binary (library / kernel it
>seems?) or (at least that is the way it works in PTLsim) use the
>-ringbuf to log the ROB's content and then browse backwards through
>the log and see which uops were decoded.
Thanks for reminding me (I have not realized that I posted to PLTsim
mailing list, instead of marssX86). As I posted there, I hope I can get
more response then.

>
>This certainly looks like a decoder problem, did you tweak anything
>there?  The unknown opcode is just an artefact of the assertion.  That
>is the way simulation is brought to a rather immediate halt.

I did not tweak anything in the marssx86 code. The assert stops the
simulation immediately.

- Hui

>
>Stephan
>
>> 
>> - Hui
>> 
>> From: Hui Kang <[email protected]<mailto:[email protected]>>
>> Date: Mon, 7 May 2012 18:22:08 +0000
>> To: "[email protected]<mailto:[email protected]>"
>><[email protected]<mailto:[email protected]>>
>> Subject: [PTLsim-devel] crash when simulating a fedora 14 os
>> 
>> Hi,
>> I am using marssx86 to run a fedora 14 os. After I boot the machine and
>>start the simulation from the QEMU monitor, the VM exits with some error
>>message.
>> 
>>   Completed        321000 cycles,        152247 commits:    192571 Hz,
>>  226715
>>   Completed        395000 cycles,        192288 commits:    368144 Hz,
>>  199200
>>   Completed        509000 cycles,        219744 commits:    564596 Hz,
>>  135978
>>   Completed        564000 cycles,        263019 commits:    274601 Hz,
>>  216061
>>   Completed        607000 cycles,        309815 commits:    212271 Hz,
>>  231010 insns/sec: rip ffffffff811c2305qemu-system-x86_64:
>>ptlsim/build/core/ooo-core/ooo-pipe.cpp:2131: int
>>ooo::ReorderBufferEntry::commit(): Assertion `uop.eom' failed.
>> 
>> I did a quick search online and find this maybe caused by an
>>unsupported opcode, but I am not sure about the cause.
>> Could anyone tell me how to debug this error message or find the
>>unsupported opcode? Thanks.
>> 
>> - Hui
>> 
>> _______________________________________________ ptlsim-devel mailing
>>list [email protected]<mailto:[email protected]>
>>http://www.ptlsim.org/mailman/listinfo/ptlsim-devel


_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to