Donate Share

Enblend

Tracker: Patches

5 x64 compilation support for float_cast - ID: 2787615
Last Update: Settings changed ( cspiel )

Currently, the float_cast.h used by enblend uses the __asm directive to
return optimized versions of lrint and family. This directive is not
available when the compile target is x64 - only masm or intrinsics are
allowed.

When compiling enblend/enfuse, only lrint/llrint were seen to be used. This
patch (albeit messy) uses x64 intrinsics to do the conversions.


Ryan Sleevi ( ryansleevi ) - 2009-05-06 02:16

5

Closed

None

Nobody/Anonymous

Platform/OS Support

v3.2

Public


Comment ( 1 )

Date: 2009-09-05 06:25
Sender: cspielProject Admin

Applied in 4.0.



Attached File ( 1 )

Filename Description Download
float_cast.h.patch Fix for lrint/llrint on x64 MSVC Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-09-05 06:26 cspiel
close_date - 2009-09-05 06:26 cspiel
category_id None 2009-09-05 06:25 cspiel
artifact_group_id None 2009-09-05 06:25 cspiel
File Added 325891: float_cast.h.patch 2009-05-06 02:16 ryansleevi