Any way to compile V8 for PPC?

61 views
Skip to first unread message

Egor Egorov

unread,
Jul 9, 2011, 5:34:37 AM7/9/11
to v8-u...@googlegroups.com

Is there any way I could compile V8 for a ppc32 machine (running linux)? Or code generation is mandatory in V8? 



Rodolph Perfetta

unread,
Jul 9, 2011, 2:35:51 PM7/9/11
to v8-u...@googlegroups.com
Code generation is mandatory.

Rodolph.

On 9 July 2011 10:34, Egor Egorov <egor....@gmail.com> wrote:

Is there any way I could compile V8 for a ppc32 machine (running linux)? Or code generation is mandatory in V8? 



Egor Egorov

unread,
Jul 10, 2011, 11:12:23 AM7/10/11
to v8-u...@googlegroups.com

Any chance to use ARM simulator to get V8 working for ppc? 

Søren Gjesse

unread,
Jul 11, 2011, 3:09:49 AM7/11/11
to v8-u...@googlegroups.com
That should be possible (the MIPS simulator should work as well), however you will need to run in 32-bit mode as the simulators only work with a 32-bit "host". However the simulator is _very_ slow, so I don't see any real life use of this set-up. On IA-32 the ARM simulator is more than a factor of 100 slower than native IA-32 on the V8 Benchmark Suite.

Regards,
Søren

On Sun, Jul 10, 2011 at 17:12, Egor Egorov <egor....@gmail.com> wrote:

Any chance to use ARM simulator to get V8 working for ppc? 

Egor Egorov

unread,
Jul 11, 2011, 7:07:52 AM7/11/11
to v8-u...@googlegroups.com

Oh, that much slower is indeed not for production. 

Reply all
Reply to author
Forward
0 new messages