Commit 8ad03c9d authored by Siarhei Siamashka's avatar Siarhei Siamashka
Browse files

Fix the 'forgotten else' regression to use NEON on Cortex-A8 again


Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
parent e9f978f3
...@@ -312,8 +312,7 @@ cpu_backend_t *cpu_backend_init(uint8_t *uncached_buffer, ...@@ -312,8 +312,7 @@ cpu_backend_t *cpu_backend_init(uint8_t *uncached_buffer,
/* NEON works better on Cortex-A8 */ /* NEON works better on Cortex-A8 */
ctx->blt2d.overlapped_blt = overlapped_blt_neon; ctx->blt2d.overlapped_blt = overlapped_blt_neon;
} }
if (ctx->cpuinfo->has_arm_wmmx) else if (ctx->cpuinfo->has_arm_wmmx) {
{
/* ARM LDM/STM works better than VFP/WMMX on Marvell PJ4 */ /* ARM LDM/STM works better than VFP/WMMX on Marvell PJ4 */
ctx->blt2d.overlapped_blt = overlapped_blt_arm; ctx->blt2d.overlapped_blt = overlapped_blt_arm;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment