Comment by bullen
4 years ago
But wouldn't it be sweet to have SIMD acceleration for fixed point?
Or is that something you can do with integers and SIMD today?
Say 4x4 matrix multiplication?
4 years ago
But wouldn't it be sweet to have SIMD acceleration for fixed point?
Or is that something you can do with integers and SIMD today?
Say 4x4 matrix multiplication?
Having implemented a nested PID controller using fixed-point arithmetic in an FPGA, I can tell you that fixed-point is a pain in the ass, and you only use it when floating-point is too slow, too large (in terms of on-chip resources), or consumes too much power, or when you really need to control the precision going into and out of an arithmetic operation.
your add is just an integer add. your multiply is a mul_hi, 2 shifts, 1 add and 1 mul.
I know some of those words, but still I'm curious as to why OpenGL has not explored fixed for 3D graphics?
Are you asking if integer SIMD exists? (It does)