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

Issue 980073003: MIPS: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed)

Created:
5 years, 9 months ago by balazs.kilvady
Modified:
5 years, 9 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. Port 4436c2642a9b7adc9a1b68577ae9ca9a9a404c06 Original commit message: This adds support for the double bits intrinsics to TurboFan, and is a first step towards fast Math functions inlined into TurboFan code or even compiled by themselves with TurboFan. BUG= Committed: https://crrev.com/b9ed2199bdff292bfdf49fb3d05eb3564ece27bd Cr-Commit-Position: refs/heads/master@{#27028}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix nits. #

Total comments: 3

Patch Set 3 : Fix shifts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -0 lines) Patch
M src/compiler/mips/code-generator-mips.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M src/compiler/mips/instruction-codes-mips.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M src/compiler/mips64/instruction-codes-mips64.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
balazs.kilvady
PTAL In src/compiler/mips*/code-generator-mips*.cc I used a case kMips64FmoveLowDUw: __ mfhc1(at, i.OutputDoubleRegister()); __ FmoveLow(i.OutputDoubleRegister(), i.InputRegister(1)); __ ...
5 years, 9 months ago (2015-03-05 14:45:58 UTC) #3
dusmil.imgtec
https://codereview.chromium.org/980073003/diff/1/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/980073003/diff/1/src/compiler/mips/code-generator-mips.cc#newcode628 src/compiler/mips/code-generator-mips.cc:628: if (CpuFeatures::IsSupported(FP64FPU)) { The selection is not good, you ...
5 years, 9 months ago (2015-03-05 14:58:21 UTC) #4
balazs.kilvady
https://codereview.chromium.org/980073003/diff/1/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/980073003/diff/1/src/compiler/mips/code-generator-mips.cc#newcode628 src/compiler/mips/code-generator-mips.cc:628: if (CpuFeatures::IsSupported(FP64FPU)) { On 2015/03/05 14:58:21, dusmil.imgtec wrote: > ...
5 years, 9 months ago (2015-03-05 17:25:55 UTC) #5
paul.l...
one drive-by comment https://codereview.chromium.org/980073003/diff/20001/src/compiler/mips64/code-generator-mips64.cc File src/compiler/mips64/code-generator-mips64.cc (right): https://codereview.chromium.org/980073003/diff/20001/src/compiler/mips64/code-generator-mips64.cc#newcode693 src/compiler/mips64/code-generator-mips64.cc:693: __ dsrlv(i.OutputRegister(), i.OutputRegister(), at); You can ...
5 years, 9 months ago (2015-03-05 17:40:48 UTC) #6
balazs.kilvady
https://codereview.chromium.org/980073003/diff/20001/src/compiler/mips64/code-generator-mips64.cc File src/compiler/mips64/code-generator-mips64.cc (right): https://codereview.chromium.org/980073003/diff/20001/src/compiler/mips64/code-generator-mips64.cc#newcode693 src/compiler/mips64/code-generator-mips64.cc:693: __ dsrlv(i.OutputRegister(), i.OutputRegister(), at); On 2015/03/05 17:40:48, paul.l... wrote: ...
5 years, 9 months ago (2015-03-05 18:07:08 UTC) #7
paul.l...
LGTM https://codereview.chromium.org/980073003/diff/20001/src/compiler/mips64/code-generator-mips64.cc File src/compiler/mips64/code-generator-mips64.cc (right): https://codereview.chromium.org/980073003/diff/20001/src/compiler/mips64/code-generator-mips64.cc#newcode693 src/compiler/mips64/code-generator-mips64.cc:693: __ dsrlv(i.OutputRegister(), i.OutputRegister(), at); Let's leave the shifts ...
5 years, 9 months ago (2015-03-05 18:43:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/980073003/40001
5 years, 9 months ago (2015-03-05 18:49:25 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-05 19:28:17 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 19:28:41 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b9ed2199bdff292bfdf49fb3d05eb3564ece27bd
Cr-Commit-Position: refs/heads/master@{#27028}

Powered by Google App Engine
This is Rietveld 408576698