« Previous | Next » 

Revision 19e6c50d

ID19e6c50d2d843220efbdd3b2db21d83c122c364a

Added by Petar Jovanovic over 11 years ago

target-mips: Fix incorrect shift for SHILO and SHILOV

helper_shilo has not been shifting an accumulator value correctly for negative
values in 'shift' field. Minor optimization for shift=0 case.
This change also adds tests that will trigger issue and check for regressions.

Signed-off-by: Petar Jovanovic <>
Reviewed-by: Richard Henderson <>
Reviewed-by: Eric Johnson <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences