Ver código fonte

core: define FP_USE on exotic architectures.

legacy
Sam Hocevar sam 13 anos atrás
pai
commit
916d608144
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      src/core.h

+ 3
- 3
src/core.h Ver arquivo

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


Carregando…
Cancelar
Salvar