This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Multiple ISAs for opcodes
- To: Ben Elliston <bje at redhat dot com>
- Subject: Multiple ISAs for opcodes
- From: Doug Evans <dje at transmeta dot com>
- Date: Sun, 15 Oct 2000 19:32:48 -0700 (PDT)
- Cc: cgen at sources dot redhat dot com
- References: <200010160104.MAA07053@walkabout.cygnus.com>
Ben Elliston writes:
> I'm trying to generate the opcodes files for a port which has two
> ISAs. The ISA shares some instruction names and this leads to
> collisions in the cgen_insn_type enum (in the <arch>-opc.h file).
For the sake of discussion, is this something akin to arm vs thumb?
> Before I work towards a solution to this, I'm trying to understand the
> workings of the cgen-generated opcodes files. Was it the intention
> that a single set of files should be able to handle the entire
> architecture? If so, would the right fix be to include the ISA name
> in the generated symbols to prevent these name collisions?