Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
makomk
on Dec 2, 2014
|
parent
|
context
|
favorite
| on:
Memcpy vs. memmove
Multi-byte nops have compatibility issues on some of the more obscure 32-bit x86 CPUs, unfortunately:
https://sourceware.org/bugzilla/show_bug.cgi?id=13675
pkhuong
on Dec 2, 2014
[–]
Right… you have to check cpuid for the long nop feature. I believe 0x66 0x90 is compatible (but slow, I would expect) with older CPUs.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: