fuck me.

程序有莫名奇妙的bug (某个嵌入式系统,浮点数运算出了问题),一开始bochs和qemu会崩溃,后来意识到是SIMD的问题,我忘记给在startup 里面设置CR4:SSE flag.

结果不崩溃了,但输出全是0,我以为是newlib的问题,于是开着gdb找啊找,还在想是不是哪里的ABI翻车了。

今天翻Makefile发现CFLAG里有一个 `-mno-sse` 一直忘记去掉。。。。

:meow_facepalm: :meow_facepalm: :meow_facepalm: :meow_facepalm: :meow_facepalm:
Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.