缺少文件disp_pentium4.inc [英] Missing file disp_pentium4.inc

查看:255
本文介绍了缺少文件disp_pentium4.inc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

调试时,程序停止并询问上述文件。似乎需要它来读取堆栈帧。我以前从未见过这个消息。

When debugging, the program stops and asks for the above mentioned file. It seems to be needing it to read the stack frame. I have never seen the message before.

推荐答案

C库的一些数学函数检查正在运行的CPU类型。

首先出现是来自名为 disp_pentium4.inc 的文件的调度例程。它检查是否已设置变量___use_sse2_mathfcns;如果是这样,则调用__si​​n_pentium4,否则调用__si​​n_default。



__sin_pentium4(在sin_pentium4.asm中)首先将参数从x87 fpu传送到xmm0寄存器,执行使用SSE2指令计算,并将结果加载回fpu。



__sin_default(在sin.asm中)将变量保存在x87堆栈上并简单地调用fsin。



看看: http://stackoverflow.com/questions/15314390/how-to-determine-whether-c-math-uses-sse2#comment21619787_15314390 [ ^ ]



以下函数具有SSE2实现,可以使用_set_SSE2_enable启用( [ ^ ]):



atan



ceil



exp



floor



日元



log10



modf



pow
Some math functions of the C library checks what kind of CPU is running.
First there is a dispatch routine from a file called "disp_pentium4.inc". It checks if the variable ___use_sse2_mathfcns has been set; if so, calls __sin_pentium4, otherwise calls __sin_default.

__sin_pentium4 (in "sin_pentium4.asm") starts by transferring the argument from the x87 fpu to the xmm0 register, performs the calculation using SSE2 instructions, and loads the result back in the fpu.

__sin_default (in "sin.asm") keeps the variable on the x87 stack and simply calls fsin.

Take a look: http://stackoverflow.com/questions/15314390/how-to-determine-whether-c-math-uses-sse2#comment21619787_15314390[^]

The following functions have SSE2 implementations that can be enabled by using _set_SSE2_enable([^]):

atan

ceil

exp

floor

log

log10

modf

pow


这是一个调试器警告,告诉您无法找到指定的源文件。当您尝试进入此类文件中包含的代码或在那里发生的断言或异常时,会显示它。



并非所有库源文件都包含在VS中。上面提到的文件是数学库的一部分,其中的源代码不可用。



单步执行程序时忽略警告。当出现错误时,在函数调用失败之前使用断点检查函数调用和变量内容。
It is a debugger warning telling you that the specified source file can't be found. It is shown when you try to step into code contained in such a file or an assertion or exception occured there.

Not all library source files are included with VS. The mentioned file is part of the math library which sources are not available.

Just ignore the warning when stepping through your program. When there was an error, check the function calls and variable contents by using a break point before the function call that fails.


这篇关于缺少文件disp_pentium4.inc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆