aboutsummaryrefslogtreecommitdiff
path: root/libs/libmpeg2/patches/102-arm_data_preload_check.patch
blob: 7351b62688413b717d31fae134f749eef9afff4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/libmpeg2/motion_comp_arm_s.S
+++ b/libmpeg2/motion_comp_arm_s.S
@@ -19,6 +19,15 @@
 @ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 
+@ Data preload is supported only by ARM V5TE and above
+
+#if (defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \
+     || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \
+     || defined (__ARM_ARCH_4T__) || defined (__ARM_ARCH_5__) \
+     || defined (__ARM_ARCH_5T__))
+.macro pld reg
+.endm
+#endif
 	.text
 
 @ ----------------------------------------------------------------