Browse Source

add warning about dodgy inline assembly

master
Felix von Leitner 15 years ago
parent
commit
a84c225e2f
  1. 1
      mult/imult64.c
  2. 1
      mult/umult64.c

1
mult/imult64.c

@ -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"

1
mult/umult64.c

@ -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"

Loading…
Cancel
Save