This is the mail archive of the cgen@sources.redhat.com 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: opcode bits beyond base-insn-bitsize


> Can anyone remember what the details are?
> i.e. what didn't work?  assembler? disassembler? simulator?

xstormy16 has both 16bit and 32bit opcodes, and some of the 32bit
opcodes have decodable bits in the second half.  The base-insn-bitsize
is used to set up the masks and such, so it needs to be at least as
big as the largest decodable bits.

The tricky bit is when the 32-bit opcodes are mixed endian (i.e.  the
first 16 bits are swapped independently of the second 16 bits,
resulting in ABCD or BADC endian, but not DCBA).


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