Hi Rolando,

to answer a few points from your previous email:

> the ARM target of the xcode project is not compiling ARM code

It is compiling the arm JIT for x86 architecture: V8 includes a small
simulator which allows it to run, albeit  slowly, the arm JIT on non arm
platforms.

> I disabled thumb code generation

V8 does not generate thumb code, so I assume you mean c++ compiled code.

> (assuming target armv6, so no thumb for faster floating point operations)

I am not sure I follow you:
 * thumb is present on armv6 CPU
 * pre armv7 there are no hardware floating point instructions in thumb
 * in armv7, thumb and arm offer the same vfp instructions

> The cache flush can be made using this on the iphone:
>       sys_dcache_flush(start, size);
>       sys_icache_invalidate(start, size);
> anyway... Now I get a SIGBUS error on execution.cc:124

sys_* look like "real" functions whereas __ARM_NR_cacheflush was a system
call number, they get call differently (code for v5 and after):
    @ r0 = start
    @ r1 = size
    ldr ip, =sys_dcache_flush
    blx ip
    @ r0-r1 is now your return value if any, r2-r3 and r12 are now rubbish
assuming the iPhoneOS use a standard ABI of course.

Rodolph

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

To unsubscribe, reply using "remove me" as the subject.

Reply via email to