Re: [gem5-users] How can I make my custom x86 macro op be recognized from GCC

2020-03-19 Thread Abhishek Singh
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

[gem5-users] How can I make my custom x86 macro op be recognized from GCC

2020-03-19 Thread Muhammad Aamir
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