I have compiled a piece of code optimized to use Intel processor extensions when available. They are not required and thus the code should also have strict IA-32 code generation.
Unfortunately, the code is having issues running on an AMD Athlon XP system. An error about missing files is being generated. While I believe this is a system specific event, I was curious if anyone had encountered any issues when running software on an AMD platform.
Thanks.
-kirk
Unfortunately, the code is having issues running on an AMD Athlon XP system. An error about missing files is being generated. While I believe this is a system specific event, I was curious if anyone had encountered any issues when running software on an AMD platform.
Thanks.
-kirk
链接已复制
5 回复数
"Missing files"? Can you be more specific?
If you have used the /Qax form of the optimization switch, the code should execute without problems on non-Intel processors, as long as they correctly implement the Intel Pentium instruction set. I can't imagine any circumstance which would cause a dependency on a file to be created.
If you use the /Qx form, which assumes an Intel processor, then the code may or may not run on non-Intel processors. Even then, there would be no "missing file" error - if there was an incompatibility, you would either get a run-time error or possibly wrong results (especially if you used /QxW.)
If you are getting a run-time error which attempts to write out a message from a file containing error messages, that would not be specific to AMD, it could come from the requested file not being present on the system you run on. You could copy that file from the compiler installation to your run-time installation.
The code is being run by another employee here and it turns out that it was an error in the input deck used. Once corrected the code is now working as it should.
I appreciate all the information, as compatibility is a concern of mine. If there's anything else, I'm all ears for it.
Thanks again!
-kirk
I appreciate all the information, as compatibility is a concern of mine. If there's anything else, I'm all ears for it.
Thanks again!
-kirk
