ref: 2795c6e7251e8cadf7d27e65f2fbde6e3a67363d
parent: c532eb998c9f965aea988b08389e527cad8433a6
author: gxw <guxiwei-hf@loongson.cn>
date: Wed Aug 22 06:11:16 EDT 2018
codec/common: [loongson] simplified code in asmdefs_mmi.h Delete redundant code "mov.d" in MMI_XSwap_HW_SINGLE and MMI_XSwap_WD_SINGLE Change-Id: I11be0669dd69cdc7a8b554825a0bed56b8d9215a
--- a/codec/common/inc/asmdefs_mmi.h
+++ b/codec/common/inc/asmdefs_mmi.h
@@ -163,13 +163,11 @@
"dmtc1 "#r1", "#f18" \n\t"
#define MMI_XSwap_HW_SINGLE(f0, f2, f4) \
- "mov.d "#f4", "#f0" \n\t" \
- "punpckhhw "#f4", "#f4", "#f2" \n\t" \
+ "punpckhhw "#f4", "#f0", "#f2" \n\t" \
"punpcklhw "#f0", "#f0", "#f2" \n\t"
#define MMI_XSwap_WD_SINGLE(f0, f2, f4) \
- "mov.d "#f4", "#f0" \n\t" \
- "punpckhwd "#f4", "#f4", "#f2" \n\t" \
+ "punpckhwd "#f4", "#f0", "#f2" \n\t" \
"punpcklwd "#f0", "#f0", "#f2" \n\t"
#define MMI_Trans4x4H_SINGLE(f0, f2, f4, f6, f8) \