📄 have_mmx.s
字号:
.file "have_mmx.S" .version "01.01"gcc2_compiled.:.text .align 16#if !defined(__MINGW32__) && !defined(__CYGWIN__) /* Magic indicating no need for an executable stack */#if !defined __powerpc64__ && !defined __ia64__.section .note.GNU-stack; .previous#endif .globl _pixops_have_mmx .type _pixops_have_mmx,@function_pixops_have_mmx:#else.globl __pixops_have_mmx__pixops_have_mmx:#endif push %ebx# Check if bit 21 in flags word is writeable pushfl popl %eax movl %eax,%ebx xorl $0x00200000, %eax pushl %eax popfl pushfl popl %eax cmpl %eax, %ebx je .notfound# OK, we have CPUID movl $1, %eax cpuid test $0x00800000, %edx jz .notfound movl $1, %eax jmp .out.notfound: movl $0, %eax.out: popl %ebx ret
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -