aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-02 07:04:29 -0500
committerJack Lloyd <[email protected]>2017-12-02 07:15:18 -0500
commitfb44cc8b188f4399cf1e7ee4953cfeb1507f6ad9 (patch)
treef8169dff085364831232ababc1ff2bea6a2340f5 /src/build-data
parentd7d0b4bf346a9cb383ad42c61a599140a4d8a269 (diff)
Remove unaligned mem check
This previously enabled doing something unsafe (misaligned reads), but it turns out even on hardware that supports this, it is not safe to do because the compiler may do something unfortunate. Now memcpy is used, which is safe on any platform. Should provide a noticable speedup for ARM and PPC64, which previously used the byte-at-a-time fallback code.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/arch/m68k.txt3
-rw-r--r--src/build-data/arch/ppc32.txt1
-rw-r--r--src/build-data/arch/s390.txt1
-rw-r--r--src/build-data/arch/s390x.txt1
-rw-r--r--src/build-data/arch/x86_32.txt1
-rw-r--r--src/build-data/arch/x86_64.txt1
6 files changed, 0 insertions, 8 deletions
diff --git a/src/build-data/arch/m68k.txt b/src/build-data/arch/m68k.txt
index 691c45b92..26dac5331 100644
--- a/src/build-data/arch/m68k.txt
+++ b/src/build-data/arch/m68k.txt
@@ -1,8 +1,5 @@
endian big
-# Except for Coldfire
-#unaligned ok
-
<aliases>
680x0
68k
diff --git a/src/build-data/arch/ppc32.txt b/src/build-data/arch/ppc32.txt
index 2f4ca6723..7d0ce5e24 100644
--- a/src/build-data/arch/ppc32.txt
+++ b/src/build-data/arch/ppc32.txt
@@ -1,5 +1,4 @@
endian big
-unaligned ok
family ppc
diff --git a/src/build-data/arch/s390.txt b/src/build-data/arch/s390.txt
index 6e9f99f12..a5c35637f 100644
--- a/src/build-data/arch/s390.txt
+++ b/src/build-data/arch/s390.txt
@@ -1,5 +1,4 @@
endian big
-unaligned ok
<submodels>
s390
diff --git a/src/build-data/arch/s390x.txt b/src/build-data/arch/s390x.txt
index 0fec592b4..6ed2ec079 100644
--- a/src/build-data/arch/s390x.txt
+++ b/src/build-data/arch/s390x.txt
@@ -1,5 +1,4 @@
endian big
-unaligned ok
wordsize 64
<submodels>
diff --git a/src/build-data/arch/x86_32.txt b/src/build-data/arch/x86_32.txt
index beaf60a41..20401e034 100644
--- a/src/build-data/arch/x86_32.txt
+++ b/src/build-data/arch/x86_32.txt
@@ -1,5 +1,4 @@
endian little
-unaligned ok
family x86
diff --git a/src/build-data/arch/x86_64.txt b/src/build-data/arch/x86_64.txt
index b162d0ab4..49f8a6a55 100644
--- a/src/build-data/arch/x86_64.txt
+++ b/src/build-data/arch/x86_64.txt
@@ -1,5 +1,4 @@
endian little
-unaligned ok
wordsize 64
family x86