add warning about dodgy inline assembly

master
Felix von Leitner 2006-08-27 22:23:45 +00:00
parent d1aef8af83
commit a84c225e2f
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#ifdef __x86_64__
/* WARNING: this only works if compiled with -fomit-frame-pointer */
void imult64() {
asm volatile(
"xchgq %rdx,%rsi\n"

View File

@ -1,5 +1,6 @@
#ifdef __x86_64__
/* WARNING: this only works if compiled with -fomit-frame-pointer */
void umult64() {
asm volatile(
"xchgq %rdx,%rsi\n"