src/hermes/common.inc
author Ben Avison <bavison@riscosopen.org>
Thu, 31 Oct 2019 14:00:28 +0300
branchSDL-1.2
changeset 13219 4f88e197acad
parent 11968 1cd1e81d6d66
permissions -rw-r--r--
ARM: Create configure option --enable-arm-neon to govern assembly optimizations
---
configure.in | 39 +++++++++++++++++++++++++++++++++++++++
include/SDL_config.h.in | 1 +
include/SDL_cpuinfo.h | 3 +++
src/cpuinfo/SDL_cpuinfo.c | 37 +++++++++++++++++++++++++++++++++++++
4 files changed, 80 insertions(+)
slouken@1871
     1
; Some common macros for hermes nasm code
slouken@1871
     2
slouken@1871
     3
%macro SDL_FUNC 1
slouken@1871
     4
%ifdef HIDDEN_VISIBILITY
slouken@1871
     5
GLOBAL %1:function hidden
slouken@1871
     6
%else
slouken@1871
     7
GLOBAL %1
slouken@1871
     8
%endif
slouken@1871
     9
%endmacro
sezeroz@11968
    10
sezeroz@11968
    11
%ifdef __OS2__
sezeroz@11968
    12
; declare segments with proper attributes for OS/2 386 builds:
sezeroz@11968
    13
SEGMENT .data CLASS=DATA ALIGN=16 USE32 FLAT
sezeroz@11968
    14
SEGMENT .text CLASS=CODE ALIGN=16 USE32 FLAT
sezeroz@11968
    15
%endif