Hi Jakob,

On 07/22/2013 04:38 PM, Jakob Kummerow wrote:
Hi Jiong,

On Mon, Jul 22, 2013 at 4:13 AM, Jiong Wang <[email protected] <mailto:[email protected]>> wrote:

    Hi All,

      Currently I am porting v8 to a new processor which don't have
    hardware FPU, and my questions are:

       *  Is it possible to support base-line compiler only?
          I want to enable base-line compiler support first, then
    CrankShaft.
          But looks like the two are mixed with each other? I can't
    run v8 without both ready?


It used to be possible to run V8 without implementing Crankshaft, but since a couple of versions we're using the Crankshaft infrastructure to compile code stubs that the baseline-compiled code uses. Which means that you indeed need to port at least some (growing) subset of the Lithium backend to your new platform.

    thanks for your clarification, then my workload will be doubled :)
(actually, my port has run to FastCloneShallowArrayStub, then it trigger Crankshaft.)


     * Is hardware FPU necessary for CrankShaft?
         I found there once be parial soft-float support on MIPS/ARM
    backend, but removed several months ago,
         and even those soft-float supports are not complete? So, to
    enable CrankShaft, the arch needs hardware FPU,
         soft-float support will be hard or impossible?


There is no requirement to have a hardware FPU for Crankshaft. You'll just have to implement your own replacements for floating-point operations (or call a system library, or whatever). JavaScript heavily relies on Double arithmetic, so there's no way around supporting those operations in some way.

The non-VFP ARM code was complete, as far as I know.

      thanks very much, I will study related code/commits.

Regards,
Jiong


Cheers,
Jakob


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to a topic in the Google Groups "v8-dev" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-dev/nIMWzmj4ccw/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.




--
--
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