add warning about dodgy inline assembly
This commit is contained in:
parent
66b342099c
commit
a2900d45a6
@ -1,5 +1,6 @@
|
|||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
|
|
||||||
|
/* WARNING: this only works if compiled with -fomit-frame-pointer */
|
||||||
void imult64() {
|
void imult64() {
|
||||||
asm volatile(
|
asm volatile(
|
||||||
"xchgq %rdx,%rsi\n"
|
"xchgq %rdx,%rsi\n"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
|
|
||||||
|
/* WARNING: this only works if compiled with -fomit-frame-pointer */
|
||||||
void umult64() {
|
void umult64() {
|
||||||
asm volatile(
|
asm volatile(
|
||||||
"xchgq %rdx,%rsi\n"
|
"xchgq %rdx,%rsi\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user