flat assembler
Message board for the users of flat assembler.

Index > Non-x86 architectures > [link] Emulating x87 on ARM64

Author
Thread Post new topic Reply to topic
bitRAKE



Joined: 21 Jul 2003
Posts: 4162
Location: vpcmpistri
bitRAKE 02 Oct 2024, 04:24
Paulo Matos, FEX x87 Stack Optimization

Summary
This blog post discusses recent optimizations made to the FEX emulator, an ARM64 emulator of Intel assembly, to improve its handling of x87 code. The author explains the workings of the x87 FPU, highlighting its stack-based operations and its components, including the status register and the tag register. The post then dives into the implementation of a new pass in FEX that optimizes x87 instruction blocks by utilizing virtual stacks and generating more efficient code. This pass achieves substantial code size reductions and performance improvements, as evidenced by benchmarks from popular games like Half-Life and Oblivion. However, the author notes that some issues still require further investigation, specifically related to the interaction between the FPU state and the MMX state.

NotebookLM : "Deep Dive" AI podcast (humor)

_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 02 Oct 2024, 04:24
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.