cgen/gas: some support for funny-endian instruction sets
Frank Ch. Eigler
fche@redhat.com
Mon Jul 9 15:58:00 GMT 2001
Hi -
On Mon, Jul 09, 2001 at 03:53:08PM -0700, Doug Evans wrote:
: [...] Then I don't have a problem with the patch _providing_
: word[-_]bitsize is renamed (say insn[-_]word[-_]bitsize).
Okay, I'll see if that's easy.
: > For example: word-bitsize=16, base-insn-size=32
: > insn-word=0x76543210 -EB=>0x76 0x54 0x32 0x10 -EL=>0x54 0x76 0x10 0x32
: > insn-word=0x3210 -EB=>0x32 0x10 -EL=>0x10 0x32
:
: Why isn't base-insn-size 16?
It's because the bytes past the initial two can contain
decodable, fixed bits which disambiguate among longer
instructions (not just operands). I've been making
changes to cgen & opcodes over the last few months to
support this case.
- FChE
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7SjcnVZbdDOm/ZT0RAqkUAJ90zpYZTflyU1vyFvG6yoW+2NsRIwCfeNcH
weNZ/HpumRvF42AtcNqM98s=
=GsJf
-----END PGP SIGNATURE-----
More information about the Binutils
mailing list