History

ARM: remove check for PLD instruction

PLD is present in ARMv5TE and later, which is checked for separately.

Mans Rullgard committed 15 years ago

Commit a3e1f801 parent 0291ce82 files · +2 −9Browse files

Unified · Split

2 files
  1. configure +0 −4
  2. libavcodec/arm/dsputil_arm.S +2 −5
configure+0−4
@@ -1093,7 +1093,6 @@ HAVE_LIST=" · 1092 unmodified lines
10931093 memalign
10941094 mkstemp
10951095 mmap
1096− pld
10971096 posix_memalign
10981097 round
10991098 roundf
@@ -2608,9 +2607,6 @@ EOF · 1508 unmodified lines
26082607 warn "Compiler does not indicate floating-point ABI, guessing $fpabi."
26092608 fi
26102609
2611− # We have to check if pld is a nop and disable it.
2612− check_asm pld '"pld [r0]"'
2613−
26142610 enabled armv5te && check_asm armv5te '"qadd r0, r0, r0"'
26152611 enabled armv6 && check_asm armv6 '"sadd16 r0, r0, r0"'
26162612 enabled armv6t2 && check_asm armv6t2 '"movt r0, #0"'
libavcodec/arm/dsputil_arm.S+2−5
@@ -24,11 +24,6 @@ · 23 unmodified lines
2424
2525 preserve8
2626
27−#if !HAVE_PLD
28−.macro pld reg
29−.endm
30−#endif
31−
3227 #if HAVE_ARMV5TE
3328 function ff_prefetch_arm, export=1
3429 subs r2, r2, #1
@@ -37,6 +32,8 @@ function ff_prefetch_arm, export=1 · 2 unmodified lines
3732 bne ff_prefetch_arm
3833 bx lr
3934 endfunc
35+#else
36+#define pld @
4037 #endif
4138
4239 .macro ALIGN_QWORD_D shift, Rd0, Rd1, Rd2, Rd3, Rn0, Rn1, Rn2, Rn3, Rn4

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t