Re: [Mesa-dev] [PATCH] gallivm: use llvm.nearbyint instead of llvm.round

2016-04-13 Thread Roland Scheidegger
Am 13.04.2016 um 12:12 schrieb Jose Fonseca: > On 13/04/16 06:51, Jose Fonseca wrote: >> On 13/04/16 04:00, srol...@vmware.com wrote: >>> From: Roland Scheidegger >>> >>> We used to use sse roundps intrinsic directly, but switched to use the >>> llvm >>> intrinsics for

Re: [Mesa-dev] [PATCH] gallivm: use llvm.nearbyint instead of llvm.round

2016-04-13 Thread Jose Fonseca
On 13/04/16 06:51, Jose Fonseca wrote: On 13/04/16 04:00, srol...@vmware.com wrote: From: Roland Scheidegger We used to use sse roundps intrinsic directly, but switched to use the llvm intrinsics for rounding with e4f01da15d8c6ce3e8c77ff3ff3d2ce2574a3f7b. However, llvm

Re: [Mesa-dev] [PATCH] gallivm: use llvm.nearbyint instead of llvm.round

2016-04-12 Thread Jose Fonseca
On 13/04/16 04:00, srol...@vmware.com wrote: From: Roland Scheidegger We used to use sse roundps intrinsic directly, but switched to use the llvm intrinsics for rounding with e4f01da15d8c6ce3e8c77ff3ff3d2ce2574a3f7b. However, llvm semantics follows standard math lib round

[Mesa-dev] [PATCH] gallivm: use llvm.nearbyint instead of llvm.round

2016-04-12 Thread sroland
From: Roland Scheidegger We used to use sse roundps intrinsic directly, but switched to use the llvm intrinsics for rounding with e4f01da15d8c6ce3e8c77ff3ff3d2ce2574a3f7b. However, llvm semantics follows standard math lib round function which is specced to do