I made no changes to it besides the bare minimum to get it compiling. I tried to compile a 64 bit version of my project a while ago and it was slower. Even for 32 bit stuff now the 2012 compiler seems to opt for SSE only code over FPU, which is good because it finally does a pretty good job at it. Now, somewhat recently, I've tried the latest version and again it's seemingly gotten a massive boost in intelligence. When 2010 came a lot of things that were broken were much closer to the expected result. and it didn't always work quite so good, so I had to use handwritten assembly instead. MS said intrinsics are good, the compiler can optimize them! So I used them. I wrote a simple software renderer a while ago and I was learning / trying to rewrite my math library for SSE. 2010 improved considerably though still occasionally had trouble. Even the intrinsics that MS tried to push over writing raw assembler would spit out completely stupid things at times in the 2008 compiler let alone older. The shit it would spit out for SSE code was occasionally beyond earthly logic. For instance MSVC at least would emit SSE code instead of using the FPU because it's a guaranteed minimum that SSE2 will exist on any 64 bit 圆4 CPU. Keep in mind how old Crysis is now, compilers were not as good with 64 bit stuff then. They probably just have to spend 2 seconds changing a single flag and off they go.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |