« Previous | Next » 

Revision c53b36d2

IDc53b36d210a55c67eca3ae89ebfdf665c0f2c3e2

Added by Aurelien Jarno over 11 years ago

target-sh4: optimize swap.w

It's possible swap the two 16-bit words of a 32-bit register using a
rotation. If the TCG target doesn't implement rotation, the replacement
code is similar to the previously implemented code.

Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences