DescriptionMIPS: Don't allow large immediates for certain instructions.
Some instructions can use >16 bit immediates if they represent a <=16 bit signed value.
However some logical instructions (andi, xori, ori, lui) should always treat the immediate value as unsigned.
This patch adds an ASSERT to these places and a minor change to MacroAssembler::li to satisfy this.
BUG=
TEST=
Committed: https://code.google.com/p/v8/source/detail?r=10644
Patch Set 1 #Patch Set 2 : rebased on r10618. #
Messages
Total messages: 3 (0 generated)
|