qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] mips setcond and movcond
@ 2009-12-19 22:32 Richard Henderson
  2009-12-19 22:32 ` [Qemu-devel] [PATCH 1/3] tcg: Add tcg_swap_cond Richard Henderson
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Richard Henderson @ 2009-12-19 22:32 UTC (permalink / raw)
  To: qemu-devel

It has been compile tested, but nothing else.

I'm moderately surprised at the implementation of brcond.  It's
missing the BLTZ, BLEZ, BGTZ, BGEZ branches.  It's could be 
improved with the SLTI and SLTIU insns used here with setcond.

Indeed, I suspect that a good implementation of brcond would be
to take care of the cases implementable directly by branches,
and then call into setcond to take care of the rest.  I don't
plan to do that.


r~



Richard Henderson (3):
  tcg: Add tcg_swap_cond.
  tcg-mips: Implement setcond, setcond2.
  tcg-mips: Implement movcond.

 tcg/mips/tcg-target.c |  296 ++++++++++++++++++++++++++++++++++++++++++++++++-
 tcg/tcg.h             |    8 ++
 2 files changed, 302 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-12-20  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-19 22:32 [Qemu-devel] [PATCH 0/3] mips setcond and movcond Richard Henderson
2009-12-19 22:32 ` [Qemu-devel] [PATCH 1/3] tcg: Add tcg_swap_cond Richard Henderson
2009-12-19 22:32 ` [Qemu-devel] [PATCH 2/3] tcg-mips: Implement setcond, setcond2 Richard Henderson
2009-12-20  0:00   ` Aurelien Jarno
2009-12-19 22:32 ` [Qemu-devel] [PATCH 3/3] tcg-mips: Implement movcond Richard Henderson
2009-12-19 23:03 ` [Qemu-devel] [PATCH 0/3] mips setcond and movcond Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).