This is the mail archive of the cgen@sourceware.org mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: insn semantics required?


Hi Nathan,

On 01/24/2011 03:23 PM, Nathan Froyd wrote:
> I've been looking through the documentation and couldn't determine
> conclusively whether defining the semantics of an insn is required.  Is
> it?

The syntax requires that you define something, although I think "()"
will do if you don't built a simulator. Otherwise, as you noted, a
simple "(nop)" will definitely be sufficient.

>  Auto-magically defining a simulator seems less useful in this day
> and age, but an auto-generated assembler and disassembler seems quite
> useful.

It really depends if you have a platform available for testing. A
simulator (auto-generated or not) is very convenient to run the gcc test
suite for regression testing.


Cheers,
JM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]