On Apr 5, 5:23 pm, Rodolph Perfetta <[email protected]> wrote: > Hi Rolando, > > > I disabled thumb code generation > > V8 does not generate thumb code, so I assume you mean c++ compiled code.
yes. There's a checkbox in the project info where you can disable generation of thumb code for c/c++/objective-c 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 yes, I'm aware of that. > > 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 Thanks! Anyway... I was wondering if the email from Ivan, where he states that v8 cannot work on iPhone is because of license uses or some other technical problem. As far as I can see, there's only a license use and it should not be a big problem. Is there any interest to keep or initiate "official" work to support iphone-arm? Best, r -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
