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

Issue 1424333002: [turbofan] Added the RoundInt64ToFloat64 instruction to TurboFan. (Closed)

Created:
5 years, 1 month ago by ahaas
Modified:
5 years, 1 month ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@BufferedRawMachineAssemblerTester
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Added the RoundInt64ToFloat64 instruction to TurboFan. Committed: https://crrev.com/870e908d882d34aa73d197fe1d01b997fbc94156 Cr-Commit-Position: refs/heads/master@{#31752}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Renamed ChangeInt64ToFloat64 to RoundInt64ToFloat64, and removed the Signed64 type again. #

Total comments: 6

Patch Set 3 : Changed the code location of RoundInt64ToFloat64, and changed its type to PlainNumber #

Total comments: 2

Patch Set 4 : Fixed the type of RoundInt64ToFloat64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -2 lines) Patch
M src/compiler/arm64/code-generator-arm64.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/arm64/instruction-codes-arm64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/mips64/instruction-codes-mips64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-codes-x64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/x64/assembler-x64.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
ahaas
Hi, I implemented the ChangeInt64ToFloat64 instruction for x64, arm64, and mips64. It's not implemented for ...
5 years, 1 month ago (2015-10-30 00:51:42 UTC) #3
Benedikt Meurer
What is the semantics of the conversion? Esp. what should happen if the value is ...
5 years, 1 month ago (2015-10-30 09:42:08 UTC) #5
titzer
Benedikt beat me by 1 min. https://codereview.chromium.org/1424333002/diff/1/src/compiler/machine-operator.h File src/compiler/machine-operator.h (right): https://codereview.chromium.org/1424333002/diff/1/src/compiler/machine-operator.h#newcode195 src/compiler/machine-operator.h:195: const Operator* ChangeInt64ToFloat64(); ...
5 years, 1 month ago (2015-10-30 09:44:06 UTC) #6
titzer
On 2015/10/30 09:42:08, Benedikt Meurer wrote: > What is the semantics of the conversion? Esp. ...
5 years, 1 month ago (2015-10-30 09:45:33 UTC) #7
Benedikt Meurer
> > https://codereview.chromium.org/1424333002/diff/1/src/types.h#newcode365 > > src/types.h:365: static TypeImpl* Signed64() { return Internal(); } > > ...
5 years, 1 month ago (2015-10-30 09:47:22 UTC) #8
titzer
On 2015/10/30 09:47:22, Benedikt Meurer wrote: > > > https://codereview.chromium.org/1424333002/diff/1/src/types.h#newcode365 > > > src/types.h:365: static ...
5 years, 1 month ago (2015-10-30 09:48:29 UTC) #9
akos.palfi.imgtec
MIPS part L-G-T-M.
5 years, 1 month ago (2015-10-30 15:42:19 UTC) #11
titzer
On 2015/10/30 09:42:08, Benedikt Meurer wrote: > What is the semantics of the conversion? Esp. ...
5 years, 1 month ago (2015-10-30 19:43:49 UTC) #12
ahaas
https://codereview.chromium.org/1424333002/diff/1/src/compiler/machine-operator.h File src/compiler/machine-operator.h (right): https://codereview.chromium.org/1424333002/diff/1/src/compiler/machine-operator.h#newcode195 src/compiler/machine-operator.h:195: const Operator* ChangeInt64ToFloat64(); On 2015/10/30 09:44:06, titzer wrote: > ...
5 years, 1 month ago (2015-11-02 10:35:37 UTC) #13
titzer
lgtm modulo disassembler. https://codereview.chromium.org/1424333002/diff/20001/src/x64/assembler-x64.h File src/x64/assembler-x64.h (right): https://codereview.chromium.org/1424333002/diff/20001/src/x64/assembler-x64.h#newcode1366 src/x64/assembler-x64.h:1366: void vcvtqsi2sd(XMMRegister dst, XMMRegister src1, const ...
5 years, 1 month ago (2015-11-02 19:14:01 UTC) #14
ahaas
https://codereview.chromium.org/1424333002/diff/20001/src/x64/assembler-x64.h File src/x64/assembler-x64.h (right): https://codereview.chromium.org/1424333002/diff/20001/src/x64/assembler-x64.h#newcode1366 src/x64/assembler-x64.h:1366: void vcvtqsi2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) { ...
5 years, 1 month ago (2015-11-03 09:28:19 UTC) #16
rossberg
https://codereview.chromium.org/1424333002/diff/20001/src/compiler/raw-machine-assembler.h File src/compiler/raw-machine-assembler.h (right): https://codereview.chromium.org/1424333002/diff/20001/src/compiler/raw-machine-assembler.h#newcode436 src/compiler/raw-machine-assembler.h:436: Node* RoundInt64ToFloat64(Node* a) { Nit: maybe move it down ...
5 years, 1 month ago (2015-11-03 10:46:32 UTC) #18
ahaas
https://codereview.chromium.org/1424333002/diff/20001/src/compiler/raw-machine-assembler.h File src/compiler/raw-machine-assembler.h (right): https://codereview.chromium.org/1424333002/diff/20001/src/compiler/raw-machine-assembler.h#newcode436 src/compiler/raw-machine-assembler.h:436: Node* RoundInt64ToFloat64(Node* a) { On 2015/11/03 10:46:32, rossberg wrote: ...
5 years, 1 month ago (2015-11-03 15:03:38 UTC) #19
rossberg
https://codereview.chromium.org/1424333002/diff/40001/src/compiler/typer.cc File src/compiler/typer.cc (right): https://codereview.chromium.org/1424333002/diff/40001/src/compiler/typer.cc#newcode2021 src/compiler/typer.cc:2021: return Type::PlainNumber(); Ah, no, you should keep the Intersect ...
5 years, 1 month ago (2015-11-03 15:13:24 UTC) #20
ahaas
https://codereview.chromium.org/1424333002/diff/40001/src/compiler/typer.cc File src/compiler/typer.cc (right): https://codereview.chromium.org/1424333002/diff/40001/src/compiler/typer.cc#newcode2021 src/compiler/typer.cc:2021: return Type::PlainNumber(); On 2015/11/03 15:13:24, rossberg wrote: > Ah, ...
5 years, 1 month ago (2015-11-03 15:26:38 UTC) #21
rossberg
lgtm
5 years, 1 month ago (2015-11-03 15:28:40 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424333002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424333002/60001
5 years, 1 month ago (2015-11-03 15:44:26 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-03 15:46:05 UTC) #26
commit-bot: I haz the power
5 years, 1 month ago (2015-11-03 15:46:43 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/870e908d882d34aa73d197fe1d01b997fbc94156
Cr-Commit-Position: refs/heads/master@{#31752}

Powered by Google App Engine
This is Rietveld 408576698