these problems are unique to x86 32 bit, so i have put a pin in that and i
have gone for 64 bit x86 executables and all my problems have vanished.



Den ons. 16. mai 2018, 18.13 skrev Jason Lowe-Power <[email protected]>:

> Hello,
>
> If you're using a simulated CPU (i.e., *not* kvm) it doesn't matter what
> the underlying host architecture supports. From my experience, the ARM ISA
> is more complete that X86. There are many missing X86 instructions. Though,
> most of the missing X86 instructions are rare floating point instructions
> and SSE/MMX/etc. instructions.
>
> If you're seeing different behavior on different computers, my best bet is
> that you haven't completely compiled your application statically and there
> are some libraries that are linked dynamically.
>
> Jason
>
> On Tue, May 15, 2018 at 12:54 PM Øyvind Harboe <[email protected]>
> wrote:
>
>> I only get this error message on my laptop at work, when I try it on my
>> machine at home I don't get this error message.
>>
>> W.r.t. supported instructions, does it matter what the host CPU supports?
>>
>> If it does, then I'm thinking I might do better with a completely
>> simulated target, like ARM than x86...
>>
>> On Tue, May 15, 2018 at 7:38 PM, Jason Lowe-Power <[email protected]>
>> wrote:
>>
>>> Hello,
>>>
>>> Yes. Those instructions are unimplemented, so you would have to
>>> implement them. There are some cases where unimplemented instructions can
>>> be ignored (e.g., hints to caches). However, if your application is using
>>> fdivr, it seems important. I wish I could give you a good pointer on how to
>>> implement an instruction. This homework from a few years ago may help
>>> http://pages.cs.wisc.edu/~david/courses/cs752/Fall2015/wiki/index.php?n=Main.Homework2
>>> .
>>>
>>> PS: The git describe is not very useful. Keeping up to date with the
>>> HEAD at gem5.googlesource.com is your best bet.
>>>
>>> On Tue, May 15, 2018 at 6:22 AM Øyvind Harboe <[email protected]>
>>> wrote:
>>>
>>>> Is there something I have to do to enable support for the instructions
>>>> below?
>>>>
>>>> $ git describe --tags
>>>> copyright_update-7291-gce00e60
>>>> $ scons -j8 --ignore-style build/X86/gem5.opt
>>>> $ build/X86/gem5.opt --listener-mode=off ../gem5/configs/example/se.py
>>>> -c a.out
>>>> [deleted]
>>>> warn: instruction 'fxam' unimplemented
>>>> warn: instruction 'fdivr' unimplemented
>>>> [deleted]
>>>> Exiting @ tick 1028958500 because exiting with last active thread
>>>> context
>>>>
>>>> Sincerely,
>>>> --
>>>> Øyvind Harboe, General Manager, Zylin AS, +47 917 86 146
>>>> _______________________________________________
>>>> gem5-users mailing list
>>>> [email protected]
>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> [email protected]
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>>
>> --
>> Øyvind Harboe, General Manager, Zylin AS, +47 917 86 146
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to