Hi,
Instead macro op name use the opcode
Eg
__asm__(".byte 0xcc, 0x00, 0xcc");
You will need to have complete knowledge up on representing register names
using opcode
You can find it x86 intel manual
On Thu, Mar 19, 2020 at 10:28 AM Muhammad Aamir
wrote:
> Hi everyone,
>
> I have made a custom x86 macro op and I wish to simulate its effects but
> to do that I need it to be recognized in my C code(am using my custom
> macroop via inline assembly). but it will not compile as GCC wont recognize
> it as it is not a basic x86 instruction. Is there anyway e.g. by using
> m5ops or something similar which can make my custom instruction to be
> accepted by GCC or do I have to edit GCC to recognize it.
>
>
> Thanks
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users