Floating-point operations

Usage of VEX tools

Floating-point operations

Postby ah105 » Tue Jan 16, 2007 12:33 pm

Hi,

I observed that VEX has no floating-point instructions.

What is the proper approach to include them? I am thinking of custom instructions.

Abed
ah105
 
Posts: 8
Joined: Sat Nov 04, 2006 7:32 pm

Postby frb » Tue Jan 16, 2007 7:39 pm

Given that FP operations are generated by the compiler and then turned into function calls, I'd say that you're out of luck... Sorry.

VEX has a FP emulation library (softfloat), so you can compile FP code, but the performance will be of a CPU with no FP hardware support.
frb
 
Posts: 62
Joined: Thu Nov 12, 2009 3:44 pm


Return to VEX Tools



Who is online

Users browsing this forum: No registered users and 4 guests

cron