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.

https://codereview.chromium.org/64313002/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to