mirror of
https://git.vladimir.cc/vladimir/libfec.git
synced 2026-08-25 17:27:34 +00:00
init commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
.text
|
||||
.global cpu_features
|
||||
.type cpu_features,@function
|
||||
cpu_features:
|
||||
pushl %ebx
|
||||
pushl %ecx
|
||||
pushl %edx
|
||||
movl $1,%eax
|
||||
cpuid
|
||||
movl %edx,%eax
|
||||
popl %edx
|
||||
popl %ecx
|
||||
popl %ebx
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user