Sfoglia il codice sorgente

core: define FP_USE on exotic architectures.

legacy
Sam Hocevar sam 13 anni fa
parent
commit
916d608144
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      src/core.h

+ 3
- 3
src/core.h Vedi File

@@ -33,10 +33,10 @@
# define FP_USE(x) __asm__("" : "+f" (x))
# elif defined __x86_64__
# define FP_USE(x) __asm__("" : "+x" (x))
# elif defined _WIN32 /* FIXME: this isn't good */
# elif defined __i386__ /* FIXME: this isn't good */
# define FP_USE(x) __asm__("" : "+m" (x))
# elif defined __i386__
# define FP_USE(x) __asm__("" : "+t" (x))
# else
# define FP_USE(x) (void)(x)
# endif
#else
# define __likely(x) x


Caricamento…
Annulla
Salva