Commit Graph

1267 Commits

Author SHA1 Message Date
Christophe Riccio
c2eea6da26 Removed floor_log2, comment that isnan and isinf are not working on MinGW 2012-09-18 01:52:16 +02:00
Christophe Riccio
c7812d44cf Added findLSB test 2012-09-16 23:26:25 +02:00
Christophe Riccio
56738ee5cb Added idea for SSE2 implementation of findMSB 2012-09-13 02:14:41 +02:00
Christophe Riccio
69dd0d26b5 Updated readme.txt for 0.9.4.0 release 2012-09-13 00:45:20 +02:00
Christophe Riccio
8a7d6080d1 Fixed findMSB generic path 2012-09-13 00:43:46 +02:00
Christophe Riccio
a2ba0ea86f Merge branch '0.9.3' of https://github.com/Groovounet/glm into 0.9.4 2012-09-12 15:59:17 +02:00
Christophe Riccio
d6bbf90670 Merge pull request #17 from muep/fix_msb
Progress on fixing FindMSB implementation. Negative values and zeros remains to be done.
2012-09-12 06:56:44 -07:00
Joonas Sarajärvi
ad3422f6aa Better fix glm::findMSB for GCC >= 4.0
The previous fix only worked correctly for values where
the most significant enabled bit was the only enabled bit.

This change changes the implementation back to using clz,
but so that the result is changed with additional arithmetics.

There is still at least one known limitation with regards
to acceptable input types, but this is documented in the code.
2012-09-12 15:17:21 +03:00
Joonas Sarajärvi
daa51e42bb Fix glm::findMSB for GCC >= 4.0
Before this fix, the GCC specific MSB function returned the number
of leading zero bits in the parameter value. With this change,
the number of trailing zero bits is returned instead.

I am not entirely sure if this fix is correct, because I could not
find a clear reference about what findMSB in GLSL is really
supposed to return with some concrete input value.
At least the result is now consistent with the GLM_ARCH_PURE
implementation of glm::findMSB.
2012-09-12 01:59:13 +03:00
Joonas Sarajärvi
da530ac46e Fix integer version of glm::log2 for GCC
This pretty much reverts the fix done in commit
1ed0e3865b

This temporarily breaks log2 for GCC in cases where GLM_FORCE_PURE
is not defined. The workaround introduced in commit
1ed0e3865b seems to rely
on getting invalid results from the nlz function.

Broken nlz is caused by a broken findMSB function for GCC.

A fix for the findMSB function should be available in a nearby
separate commit.
2012-09-12 01:51:02 +03:00
Christophe Riccio
1822f9dd04 Added Intel compiler support 2012-09-11 02:30:28 +02:00
Christophe Riccio
e8cbc50343 Fixed SSE detection on Visual C++ 2012-09-06 20:05:11 +02:00
Christophe Riccio
88cbbebac6 Merge branch 'master' into 0.9.4 2012-09-06 18:45:15 +02:00
Christophe Riccio
ef86084b84 Removed GLM website from the source repository 2012-09-06 00:30:34 +02:00
Christophe Riccio
c588e9fa1e Merge pull request #16 from gigadude/master
Fix broken GCC SSE support
2012-09-05 15:03:27 -07:00
Ed Hutchins
311c64c3d3 Fixed SSE detection 2012-09-05 14:48:02 -07:00
Christophe Riccio
2f3dd90aca Merge branch '0.9.3' into 0.9.4 2012-09-05 23:45:12 +02:00
Christophe Riccio
72a01d3432 Experiment to do 2012-08-22 18:22:06 +01:00
Christophe Riccio
09a8d5a621 Fixed warning from #123 comments 2012-07-01 11:32:55 +01:00
Christophe Riccio
ab552c3acd Compiled GLM site 2012-06-30 19:36:05 +01:00
Christophe Riccio
485700a546 Updated downloads 2012-06-30 14:45:56 +01:00
Christophe Riccio
5506d67789 Getting GLM 0.9.3.4 release 2012-06-30 14:05:52 +01:00
Christophe Riccio
35995e40f0 Merge branch '0.9.3' into 0.9.4 2012-06-30 01:11:36 +01:00
Christophe Riccio
ac8ec9b97c Fixed SSE includes with GCC 2012-06-30 01:05:45 +01:00
Christophe Riccio
9bd19663c1 Fixed #186, fixed warning 2012-06-28 19:45:28 +01:00
Christophe Riccio
3ab80ffe6d Fixed #187, fixed bitfieldExtract for vector based type 2012-06-28 19:40:42 +01:00
Christophe Riccio
a979cb483e Updated readme for GLM 0.9.3.4 release 2012-06-28 19:15:57 +01:00
Christophe Riccio
e26b0587b2 Deleted VIRTREV_xstream 2012-06-28 17:01:02 +01:00
Christophe Riccio
4797b4922a Fixed comflict 2012-06-20 15:13:19 +01:00
Christophe Riccio
bfae1e09f5 Merge branch '0.9.4' of github.com:Groovounet/glm into 0.9.4 2012-06-20 15:11:50 +01:00
Christophe Riccio
6eeec5c191 Updated index 2012-06-20 15:11:30 +01:00
Christophe Riccio
a5e450cc01 Merge branch '0.9.3' of github.com:Groovounet/glm into 0.9.3 2012-06-20 15:09:56 +01:00
Christophe Riccio
ba6807b754 Added SSE4 and AVX2 detection, most changes from d9dc21328f 2012-06-03 02:17:36 +01:00
Christophe Riccio
b88c550a10 Updated version for next release 2012-06-03 01:11:35 +01:00
Christophe Riccio
fa0cc7a319 Merge branch '0.9.3' of github.com:Groovounet/glm into 0.9.4 2012-05-20 11:14:42 +01:00
Christophe Riccio
febf667159 Updated links 2012-05-12 15:42:33 +01:00
Christophe Riccio
c4d886a3d6 Updared readme 2012-05-10 00:14:20 +01:00
Christophe Riccio
965873430c Prepare GLM 0.9.3.3 release 2012-05-09 23:59:42 +01:00
Christophe Riccio
ac0c938442 Fixed VC warning 2012-05-09 22:39:17 +01:00
Christophe Riccio
921b2d8404 Merge branch '0.9.3' into 0.9.4 2012-05-09 20:56:32 +01:00
Christophe Riccio
40622b0e79 Fixed merge 2012-05-08 21:01:40 +01:00
Christophe Riccio
ff3ad788df Merge branch '0.9.3' of github.com:Groovounet/glm into 0.9.3 2012-05-08 20:58:01 +01:00
Christophe Riccio
6654df6a10 Merge branch '0.9.3' into 0.9.4 2012-05-02 13:09:48 +01:00
Christophe Riccio
ade527271e Fixed transpose test 2012-05-02 13:09:26 +01:00
Christophe Riccio
45f82ab884 Added transpose test 2012-05-02 13:09:17 +01:00
Christophe Riccio
34dc3a6ef6 Fixed matrixCompMult function for none square matrix 2012-05-02 13:07:55 +01:00
Christophe Riccio
77eabf703a Merge branch '0.9.3' into 0.9.4 2012-05-02 13:07:06 +01:00
Christophe Riccio
05426e7398 Fixed matrixCompMult function for none square matrix 2012-05-02 13:06:00 +01:00
Christophe Riccio
dadf53884e Fixed transpose test 2012-05-02 12:34:07 +01:00
Christophe Riccio
bcc40eb6d6 Added transpose test 2012-05-02 12:25:15 +01:00