Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Issue 9309077: MIPS: Don't allow large immediates for certain instructions. (Closed)

Created:
8 years, 10 months ago by kalmard
Modified:
8 years, 10 months ago
Reviewers:
kisg, Paul Lind, danno
CC:
v8-dev
Visibility:
Public.

Description

MIPS: 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M src/mips/assembler-mips.cc View 4 chunks +4 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
kalmard
8 years, 10 months ago (2012-02-03 12:31:21 UTC) #1
kalmard
rebased on r10618.
8 years, 10 months ago (2012-02-07 11:40:57 UTC) #2
danno
8 years, 10 months ago (2012-02-08 14:39:50 UTC) #3
lgtm

Powered by Google App Engine
This is Rietveld 408576698