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

Issue 64313002: Introduce MoveInteger64 instruction into X64 Macro Assembler (Closed)

Created:
7 years, 1 month ago by haitao.feng
Modified:
7 years ago
Reviewers:
danno, Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

Introduce MoveInteger64 instruction into X64 Macro Assembler

Patch Set 1 #

Patch Set 2 : Refine a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -16 lines) Patch
M src/x64/code-stubs-x64.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/x64/codegen-x64.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
haitao.feng
PTAL.
7 years, 1 month ago (2013-11-07 13:37:22 UTC) #1
danno
Thanks for the patch, but I wonder why this is necessary? Won't MoveInteger64 also be ...
7 years, 1 month ago (2013-11-13 13:00:39 UTC) #2
haitao.feng
Danno, thanks for the review. This change adds syntactic sugar as you mentioned in the ...
7 years, 1 month ago (2013-11-14 08:45:18 UTC) #3
Toon Verwaest
Would it be possible to use movp rather than MoveReturnAddress, and keep movq rather than ...
7 years ago (2013-11-25 12:17:13 UTC) #4
haitao.feng
Hi Toon, Thanks for the review. My origin intent is to introduce MoveDouble, MoveDouble and ...
7 years ago (2013-11-25 12:42:16 UTC) #5
haitao.feng
For your information, the latest x32 port source code is at https://github.com/fenghaitao/v8/tree/x32. I am now ...
7 years ago (2013-11-25 12:48:19 UTC) #6
Toon Verwaest
I prefer introducing high-level instructions that internally choose the correct implementation, rather than using a ...
7 years ago (2013-11-25 14:37:25 UTC) #7
haitao.feng
> So I wouldn't replace *all* movq by movp, but only those that have to ...
7 years ago (2013-11-27 05:41:24 UTC) #8
haitao.feng
7 years ago (2013-11-27 12:11:56 UTC) #9
> Secondly, if I follow your sentences correctly, we might be able to introduce
> AssemblerEmittingMode for X64 assembler instruction, for example,
>      enum AssemblerEmittingMode {
>          ARCHITECTURE_DEPENDENT,
>          ALWAYS_64_BIT,
>          ALWAYS_32_BIT
>      }    
> 
> and introduce move instruction with a default mode as ARCHITECTURE_DEPENDENT.
It
> will address most of the movq usage in the X64 code. When we have to use
64-bit
> or 32-bit, we use ALWAYS_64_BIT or ALWAYS_32_BIT. What do you think?
Please ignore this part. We could use template to distinguish movl, movq and
move (or movp as you suggested). I uploaded a CL
https://codereview.chromium.org/91333002/ for your reference. If you are OK with
this, I will change movq extensively in the X64 port.

Powered by Google App Engine
This is Rietveld 408576698