Original Post
Hi there!
I''ve a question that''s buggin me for some time now.
Let''s say I have a maths library with some classes (matrix and so on) and I have 2 versions of this library - one with optimizations for Intel processors and one with optimizations for AMDs. How do game developers now use this libraries ... i mean they have to use the AMD matrix class when the programm runs on an AMD and the same goes with the intel class. Do they things like
if(isIntel()) pMatrix = new IntelMatrix; else pMatrix = new AMDMatrix;or is there another way. Of course you could make different executables for each processor but there are games out there that have only one and use extensions (or do they only use extensions that both processors have like SSE?) Thx for any information!