]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: bfin: speed up all insn testcases slightly
authorMike Frysinger <vapier@gentoo.org>
Mon, 24 Jun 2013 01:44:55 +0000 (01:44 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 24 Jun 2013 01:44:55 +0000 (01:44 +0000)
commit531d5282c0dda68c4618e0353157e61723334711
tree5c529c4f5349022e80b7a51cf004f92b4516a630
parentcdaf73c68afa3c402b222ae93119667caa2b9969
sim: bfin: speed up all insn testcases slightly

The main body of the "all insn" test is executed once per tested insn, and
we test millions of insns here.  Any shrinkage we can do in this loop will
speed things up nicely (since it's multiplied per tested insn).

To that end, simplify the end-of-table test into one less insn, and omit
the SSYNC when we build for the sim.  When we build to run on the hardware,
this insn matters, but the sim doesn't have write store buffers in the chip
that might get in the way (memory writes are atomic).
sim/testsuite/sim/bfin/ChangeLog
sim/testsuite/sim/bfin/se_allopcodes.h