Last week, I tried to find a decent resource for floating-point arithmetic for x86 assembly using the AT & T syntax. Ideally, a list of opcode what they do and where the floats are stored. I am familiar with the performance of IEEE 754. I am not familiar with the floating point stack and any assembly related to floating point arithmetic.
Itβs strange how hard it is to find.
EDIT: I was looking at gcc -S output for the last month while studying assembly. This is how I understood everything except floating point arithmetic. Even after going through dozens of small programs compiled without optimization, I still canβt learn much about floating point and stack codes. I found only trivial examples on the Internet.
assembly floating-point x86
Kizaru
source share