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

Issue 1695283002: [crankshaft][arm][mips] Fix Math.min(0, 0) (Closed)

Created:
4 years, 10 months ago by Jakob Kummerow
Modified:
4 years, 10 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[crankshaft][arm][mips][mips64] Fix Math.min(0, 0) for the special case where the same register is used as both left and right input. Committed: https://crrev.com/0d59772b2b5c0517b925193bf0fa3fca6c9dd62b Cr-Commit-Position: refs/heads/master@{#33996}

Patch Set 1 #

Patch Set 2 : mips64 too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -3 lines) Patch
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 chunk +7 lines, -1 line 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 chunk +7 lines, -1 line 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
A test/mjsunit/regress/math-min.js View 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Jakob Kummerow
Yang: as discussed, PTAL. MIPS folks: FYI. I noticed that there are max_d/min_d instructions in ...
4 years, 10 months ago (2016-02-15 14:21:47 UTC) #3
Yang
On 2016/02/15 14:21:47, Jakob wrote: > Yang: as discussed, PTAL. > > MIPS folks: FYI. ...
4 years, 10 months ago (2016-02-15 14:23:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1695283002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1695283002/20001
4 years, 10 months ago (2016-02-15 14:23:44 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-15 14:42:42 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0d59772b2b5c0517b925193bf0fa3fca6c9dd62b Cr-Commit-Position: refs/heads/master@{#33996}
4 years, 10 months ago (2016-02-15 14:43:09 UTC) #10
balazs.kilvady
On 2016/02/15 14:21:47, Jakob wrote: > Yang: as discussed, PTAL. > > MIPS folks: FYI. ...
4 years, 10 months ago (2016-02-18 18:29:59 UTC) #11
balazs.kilvady
4 years, 10 months ago (2016-02-18 18:30:01 UTC) #12
Message was sent while issue was closed.
On 2016/02/15 14:21:47, Jakob wrote:
> Yang: as discussed, PTAL.
> 
> MIPS folks: FYI. I noticed that there are max_d/min_d instructions in
> assembler-mips{,64}.h. If those do what their name suggests, then the
> MIPS/MIPS64 implementations of the representation.IsDouble() branch of
> LCodeGen::DoMathMinMax could be as simple as it is on arm64. I'm leaving this
up
> to you to improve in a follow-up CL if you want. (Crankshaft is deprecated so
> it's not worth putting a whole lot of effort into.)

Thank you for the info, we will check the possibilities. Although min_d, max_d
are MIPSr6 instructions and my MacroAssembler CL to use min/max macros on all
MIPS platforms is not landed yet. https://codereview.chromium.org/1694833002/

Powered by Google App Engine
This is Rietveld 408576698