Re: An idea on operation Wine on ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kumiisater wrote:
> Hello everybody.
> As you know, Microsoft is going to release Windows 8 and MS Office for ARM sometime in 2012. (via microsoft.com (http://www.microsoft.com/Presspass/Features/2011/jan11/01-05SinofskySOC.mspx))
> 
> 
> 
> ARM edition of Windows 8 will surely be able to launch old x86 programs through emulation layer. But I think sooner or later wine will have its own emulation layer, which will lead to decrease in performance of x86 applications. I'd like to suggest an idea that might speed up x86 application on ARM version of wine. This consists in caching x86 assembly codes converted to ARM assembly codes.
> After its installing first wine creates separate wineprefix (to which it will store cached binaries) for every single application. Then wine makes full dublicates for binaries which the application consists of. Once an application started (from its original directory, not dublicated one), wine "listens" to application's calls. If one gives a call directly to processor, wine memorizes the number of string in which this call happened and the name of binary. Wine repeats this procedure for each call to the processor until the application terminates. But, of course, the application at its run-time fully goes through wine's emulation layer for the first time.
> After this wine goes to the directory where duplicated binaries are and in every binary finds every line which contains a direct call to processor and replaces it with analogic command for ARM processors and saves modified binary.
> For the second time and onwards wine launches application from dublicated directory.
> Since at its runtime the application uses not all binary resources, wine should continiously "listen" to an application and repeat actions described for the first time. Thus, the more the number of runs of the application was, the more calls to processors will operate as native.
> 
> 
> What is different from the variant in which wine would emulate every single call to the processor:
> Firstly, by using binaries with already converted instructions wine gains more performance.
> Secondly, the more the number of runs of the application was, the more speed will be obtained by the application.
> 
> Regards.








[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux