mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 01:35:46 -04:00
dep/vixl: Fix building for AArch32
This commit is contained in:
@ -31,7 +31,7 @@ if(BUILD_LIBRETRO_CORE)
|
||||
add_subdirectory(libretro-common)
|
||||
endif()
|
||||
|
||||
if(${CPU_ARCH} STREQUAL "aarch64")
|
||||
if(${CPU_ARCH} STREQUAL "aarch32" OR ${CPU_ARCH} STREQUAL "aarch64")
|
||||
add_subdirectory(vixl)
|
||||
endif()
|
||||
|
||||
|
@ -27,7 +27,7 @@ target_compile_definitions(vixl PUBLIC
|
||||
VIXL_CODE_BUFFER_MALLOC
|
||||
)
|
||||
|
||||
if(${CPU_ARCH} STREQUAL "arm")
|
||||
if(${CPU_ARCH} STREQUAL "aarch32")
|
||||
target_sources(vixl PRIVATE
|
||||
include/vixl/aarch32/assembler-aarch32.h
|
||||
include/vixl/aarch32/constants-aarch32.h
|
||||
@ -48,7 +48,7 @@ if(${CPU_ARCH} STREQUAL "arm")
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/vixl/aarch32
|
||||
)
|
||||
target_compile_definitions(vixl PUBLIC
|
||||
VIXL_INCLUDE_TARGET_AARCH32
|
||||
VIXL_INCLUDE_TARGET_A32
|
||||
)
|
||||
endif()
|
||||
|
||||
@ -84,7 +84,7 @@ if(${CPU_ARCH} STREQUAL "aarch64")
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/vixl/aarch64
|
||||
)
|
||||
target_compile_definitions(vixl PUBLIC
|
||||
VIXL_INCLUDE_TARGET_AARCH64
|
||||
VIXL_INCLUDE_TARGET_A64
|
||||
)
|
||||
endif()
|
||||
|
||||
|
@ -27,10 +27,10 @@
|
||||
#ifndef VIXL_AARCH32_ASSEMBLER_AARCH32_H_
|
||||
#define VIXL_AARCH32_ASSEMBLER_AARCH32_H_
|
||||
|
||||
#include "assembler-base-vixl.h"
|
||||
#include "../assembler-base-vixl.h"
|
||||
|
||||
#include "aarch32/instructions-aarch32.h"
|
||||
#include "aarch32/location-aarch32.h"
|
||||
#include "instructions-aarch32.h"
|
||||
#include "location-aarch32.h"
|
||||
|
||||
namespace vixl {
|
||||
namespace aarch32 {
|
||||
|
@ -32,7 +32,7 @@ extern "C" {
|
||||
#include <stdint.h>
|
||||
}
|
||||
|
||||
#include "globals-vixl.h"
|
||||
#include "../globals-vixl.h"
|
||||
|
||||
|
||||
namespace vixl {
|
||||
|
@ -33,8 +33,8 @@ extern "C" {
|
||||
|
||||
#include <iomanip>
|
||||
|
||||
#include "aarch32/constants-aarch32.h"
|
||||
#include "aarch32/operands-aarch32.h"
|
||||
#include "constants-aarch32.h"
|
||||
#include "operands-aarch32.h"
|
||||
|
||||
namespace vixl {
|
||||
namespace aarch32 {
|
||||
|
@ -34,9 +34,10 @@ extern "C" {
|
||||
#include <algorithm>
|
||||
#include <ostream>
|
||||
|
||||
#include "code-buffer-vixl.h"
|
||||
#include "utils-vixl.h"
|
||||
#include "aarch32/constants-aarch32.h"
|
||||
#include "../code-buffer-vixl.h"
|
||||
#include "../utils-vixl.h"
|
||||
|
||||
#include "constants-aarch32.h"
|
||||
|
||||
#ifdef __arm__
|
||||
#define HARDFLOAT __attribute__((noinline, pcs("aapcs-vfp")))
|
||||
|
@ -36,9 +36,9 @@ extern "C" {
|
||||
#include <iomanip>
|
||||
#include <list>
|
||||
|
||||
#include "invalset-vixl.h"
|
||||
#include "pool-manager.h"
|
||||
#include "utils-vixl.h"
|
||||
#include "../invalset-vixl.h"
|
||||
#include "../pool-manager.h"
|
||||
#include "../utils-vixl.h"
|
||||
|
||||
#include "constants-aarch32.h"
|
||||
#include "instructions-aarch32.h"
|
||||
|
@ -28,15 +28,15 @@
|
||||
#ifndef VIXL_AARCH32_MACRO_ASSEMBLER_AARCH32_H_
|
||||
#define VIXL_AARCH32_MACRO_ASSEMBLER_AARCH32_H_
|
||||
|
||||
#include "code-generation-scopes-vixl.h"
|
||||
#include "macro-assembler-interface.h"
|
||||
#include "pool-manager-impl.h"
|
||||
#include "pool-manager.h"
|
||||
#include "utils-vixl.h"
|
||||
#include "../code-generation-scopes-vixl.h"
|
||||
#include "../macro-assembler-interface.h"
|
||||
#include "../pool-manager-impl.h"
|
||||
#include "../pool-manager.h"
|
||||
#include "../utils-vixl.h"
|
||||
|
||||
#include "aarch32/assembler-aarch32.h"
|
||||
#include "aarch32/instructions-aarch32.h"
|
||||
#include "aarch32/operands-aarch32.h"
|
||||
#include "assembler-aarch32.h"
|
||||
#include "instructions-aarch32.h"
|
||||
#include "operands-aarch32.h"
|
||||
|
||||
namespace vixl {
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#ifndef VIXL_AARCH32_OPERANDS_AARCH32_H_
|
||||
#define VIXL_AARCH32_OPERANDS_AARCH32_H_
|
||||
|
||||
#include "aarch32/instructions-aarch32.h"
|
||||
#include "instructions-aarch32.h"
|
||||
|
||||
namespace vixl {
|
||||
namespace aarch32 {
|
||||
|
Reference in New Issue
Block a user