mame update to 0176 and fix build with gcc6

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2016-07-31 02:51:17 +02:00
parent 8146b74343
commit 6ffaef6848
2 changed files with 42 additions and 2 deletions

View File

@@ -0,0 +1,39 @@
From b3db2aa6b762711015f2d504006b44e698a4de0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Sun, 31 Jul 2016 01:36:52 +0200
Subject: [PATCH] bx/float4_neon.h: Remove neon_reinterpret, use casts
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
See gcc6;
commit da08cb5504f0b791ada8889b16620055672999b8
Author: alalaw01 <alalaw01@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu Feb 4 14:49:02 2016 +0000
[ARM] Remove neon_reinterpret, use casts
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
3rdparty/bx/include/bx/float4_neon.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/3rdparty/bx/include/bx/float4_neon.h b/3rdparty/bx/include/bx/float4_neon.h
index c3545d0..811c4ff 100644
--- a/3rdparty/bx/include/bx/float4_neon.h
+++ b/3rdparty/bx/include/bx/float4_neon.h
@@ -6,6 +6,10 @@
#ifndef BX_FLOAT4_NEON_H_HEADER_GUARD
#define BX_FLOAT4_NEON_H_HEADER_GUARD
+/* gcc6 hacks */
+#define __builtin_neon_vreinterpretv4sfv4si(a) ((float4_t)a)
+#define __builtin_neon_vreinterpretv4siv4sf(a) ((_i32x4_t)a)
+
namespace bx
{
typedef __builtin_neon_sf float4_t __attribute__( (__vector_size__(16) ) );
--
2.5.5

View File

@@ -8,9 +8,10 @@ SRC_URI = " \
https://github.com/mamedev/mame/archive/${BPN}${PV}.tar.gz \
file://0001-use-pkg-config-for-finding-sdl-library-settings.patch \
file://0002-float4_neon.h-refactor-buildins-for-later-gcc-s.patch \
file://0003-bx-float4_neon.h-Remove-neon_reinterpret-use-casts.patch \
"
SRC_URI[md5sum] = "299b77d7be7e303c8bfc71237fcf84b2"
SRC_URI[sha256sum] = "249dc43d27f435b47e6bd30754eaa2b52253da37aa04498cb9cc6df5c2041cfa"
SRC_URI[md5sum] = "b2aed655e1ea2bccf26bf96f189257ba"
SRC_URI[sha256sum] = "e8837ae9c21ac6ca289c0214747a6d7ff7cc4683b9426377f42cda318fddcb25"
S = "${WORKDIR}/${BPN}-${BPN}${PV}"