[PATCH 1/2] opcodes/mips: use .word/.short for undefined instructions

Maciej W. Rozycki macro@orcam.me.uk
Thu Feb 2 09:48:10 GMT 2023
On Wed, 1 Feb 2023, Andrew Burgess wrote:

> >  I'd say it's OK, except that I put your change through my MIPS regression 
> > tester and that revealed failures from your new case for numerous
> >  targets,
> 
> Can you let me know which targets I should configure for to expose these
> failures, then I can ensure I've fully tested this before posting an
> update.

 In this case those that I quoted as examples should do, e.g. `mips-elf' 
and `mipsisa32r6-elf'.  If you have a way to automate testing and would 
prefer to use my full list of MIPS targets, then it is as follows:

mips-elf mips-img-elf mips-mti-elf mips-sde-elf mips-freebsd 
mips-sgi-irix5 mips-sgi-irix6 mips-kfreebsd-gnu mips-linux mips-img-linux 
mips-mti-linux mips-netbsd mips-rtems mips-vxworks mips-windiss 
mips64-freebsd mips64-kfreebsd-gnu mips64-linux mips64-img-linux 
mips64-mti-linux mips64-openbsd mips64el-ps2-elf mips64el-freebsd 
mips64el-kfreebsd-gnu mips64el-linux mips64el-img-linux mips64el-mti-linux 
mips64el-openbsd mips64vr-elf mips64vr4300-elf mips64vr4300el-elf
mips64vrel-elf mipsel-elf mipsel-img-elf mipsel-mti-elf mipsel-ps2-elf 
mipsel-sde-elf mipsel-freebsd mipsel-kfreebsd-gnu mipsel-linux 
mipsel-img-linux mipsel-mti-linux mipsel-netbsd mipsel-vxworks 
mipsisa32-elf mipsisa32-linux mipsisa32el-elf mipsisa32el-linux 
mipsisa32r2-elf mipsisa32r2-linux mipsisa32r2el-elf mipsisa32r2el-linux 
mipsisa32r3-elf mipsisa32r3-linux mipsisa32r3el-elf mipsisa32r3el-linux 
mipsisa32r5-elf mipsisa32r5-linux mipsisa32r5el-elf mipsisa32r5el-linux 
mipsisa32r6-elf mipsisa32r6-linux mipsisa32r6el-elf mipsisa32r6el-linux 
mipsisa64-elf mipsisa64-linux mipsisa64el-elf mipsisa64el-linux 
mipsisa64r2-elf mipsisa64r2-linux mipsisa64r2el-elf mipsisa64r2el-linux 
mipsisa64r3-elf mipsisa64r3-linux mipsisa64r3el-elf mipsisa64r3el-linux 
mipsisa64r5-elf mipsisa64r5-linux mipsisa64r5el-elf mipsisa64r5el-linux 
mipsisa64r6-elf mipsisa64r6-linux mipsisa64r6el-elf mipsisa64r6el-linux 
mipsr5900el-elf mipsr5900el-linux tx39-elf

It shouldn't take too long on a reasonably modern machine (it takes less 
than 0.5h on my development system to build and test all these).

  Maciej


More information about the Binutils mailing list