02 2017 档案

sse矩阵乘法 应该是1毫秒纯运算1000次 asm 是 啊瑟门波利 内联汇编的意思
摘要:#include <intrin.h> #include <math.h> //注意那个四个分量的变量 洗牌,给那个分量对准后 叉乘 (cross),那个是sse的叉乘 struct Vector4 { float x, y, z, w; }; struct Matrix { float _M[4] 阅读全文

posted @ 2017-02-24 11:28 草丛有头猪 阅读(1276) 评论(1) 推荐(0)

SSE 向量乘矩阵
摘要:struct Vector4 { float x, y, z, w; }; struct Matrix { float _M[4][4]; }; void SSE_VectorMultiplyMatrix(const Vector4& v,const Matrix& m1,Vector4& ret) 阅读全文

posted @ 2017-02-23 15:46 草丛有头猪 阅读(403) 评论(1) 推荐(0)

导航