This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
adding binary comparisons to MIPS testsuite
- To: binutils at sourceware dot cygnus dot com
- Subject: adding binary comparisons to MIPS testsuite
- From: cgd at sibyte dot com (Chris G. Demetriou)
- Date: 19 Oct 2000 15:13:20 -0700
What do people think of adding binary comparisons to at least some of
the tests in the existing MIPS gas testsuite, using the objdump
--show-raw-insn arg?
Given the amazing possibilities for different assembly of source on
MIPS, this basically means:
(1) providing a new .d file for each variant you want to test,
(2) specifying the ISA to use in the/an #as: directive in each .d
file.
It's a bit tedious, but on the other hand it's nice to know that in
addition to the forward-backward translation done by
assembly/disassembly being consistent, the actual translation to
binary is correct. 8-)
Comments?
chris