Parcourir la source

Support i386 with optimizations

tags/3.1
xtkoba il y a 2 ans
Parent
révision
0d12bff1be
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      cmake/ArchDep.cmake

+ 3
- 3
cmake/ArchDep.cmake Voir le fichier

@@ -16,8 +16,8 @@ SET(ASM_CODE "
")
ASM_OP(HAVE_DOLLARMACRO "dollar macro convention")

# For now we support only x86_64 architecture with optimizations
IF("${ARCH}" STREQUAL "x86_64")
# For now we support only x86_64/i386 architecture with optimizations
IF("${ARCH}" STREQUAL "x86_64" OR "${ARCH}" STREQUAL "i386")
IF(NOT HAVE_SLASHMACRO AND NOT HAVE_DOLLARMACRO)
MESSAGE(FATAL_ERROR "Your assembler cannot compile macros, please check your CMakeFiles/CMakeError.log")
ENDIF()
@@ -99,4 +99,4 @@ IF ("${ARCH}" STREQUAL "x86_64")
ELSEIF((CMAKE_C_COMPILER_ID MATCHES "MSVC"))
ADD_COMPILE_OPTIONS(/arch:SSE2)
ENDIF()
ENDIF()
ENDIF()

Chargement…
Annuler
Enregistrer