From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Elliston To: cgen@sources.redhat.com Subject: Multiple ISAs for opcodes Date: Sun, 15 Oct 2000 17:44:00 -0000 Message-id: <200010160104.MAA07053@walkabout.cygnus.com> X-SW-Source: 2000-q4/msg00031.html Hi, 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 -opc.h file). 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? Ben