add warning about dodgy inline assembly

This commit is contained in:
leitner 2006-08-27 22:23:45 +00:00
parent 66b342099c
commit a2900d45a6
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"