Skip to content

Add FUCOMPP (DA E9) - #217

Open
egorich239 wants to merge 1 commit into
jart:masterfrom
egorich239:fucompp
Open

egorich239 wants to merge 1 commit into
jart:masterfrom
egorich239:fucompp

Conversation

@egorich239

Copy link
Copy Markdown

FUCOMPP compares st(0) with st(1) unordered and pops both, the way FCOMPP does with an ordered compare. tcc emits it for == and != on long doubles, so any such program raised SIGILL under blink.

FUCOMPP compares st(0) with st(1) unordered and pops both, the way
FCOMPP does with an ordered compare. tcc emits it for == and != on
long doubles, so any such program raised SIGILL under blink. Verified
with a freestanding program that runs the instruction on three pairs
of long doubles and prints C0 and C3, which now match the host, and
with a tcc built inside an emulated bootstrap that stopped faulting
on its first long double comparison.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant