Re:Android: Faster emulator with better hardware support
by nekitamo on Monday April 09, 2012 @08:13PM
(#3819991)
The binaries built by the Android NDK are emulated on the emulator properly. I've deployed NDK binaries on the emulator and traced it with IDA Pro, one line of ARM assembler at a time... So yes, it's a proper emulator.
Just a fact I thought you might find interesting.
Re:Android: Faster emulator with better hardware support
by drewcrawford on Monday April 09, 2012 @09:32PM
(#3820246)
But does an ADD instruction on ARM take the correct multiplier of time as the MUL instruction? No, because time-accurate emulation is shockingly hard. Further reading:
http://arstechnica.com/gaming/news/2011/08/accuracy-takes-po...
Just for starters, if I am profiling code, it's probably because the code is slow. (Infamously, for awhile we had a 13-hour unit test). If a quad-core 1ghz ARM device is slow, the last thing I want to do is throw an emulator into the mix.