[gem5-users] Generate binary for new added instruction

2018-09-10 Thread Abhishek Singh
Hello Everyone, I have added new instruction in x86 isa of gem5. I wanted to test it using (modified) binary. As new instruction are not identified by general gcc/g++ complier on host x86 machine. I am unable to get binary. I am using SE mode of gem5. Is there a way to run new instruction using as

Re: [gem5-users] Generate binary for new added instruction

2018-09-10 Thread Ciro Santilli
Try GCC __asm__ with raw bytes via .inst, e.g. https://github.com/torvalds/linux/blob/94710cac0ef4ee177a63b5227664b38c95bbf703/arch/arm/include/asm/barrier.h#L23 On Mon, Sep 10, 2018 at 4:54 PM Abhishek Singh < abhishek.singh199...@gmail.com> wrote: > Hello Everyone, > > I have added new instruct