summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Library/BaseLib/LoongArch64/Cpucfg.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/LoongArch64/Cpucfg.S b/MdePkg/Library/BaseLib/LoongArch64/Cpucfg.S
index 8b3f842f9e..0240213705 100644
--- a/MdePkg/Library/BaseLib/LoongArch64/Cpucfg.S
+++ b/MdePkg/Library/BaseLib/LoongArch64/Cpucfg.S
@@ -20,7 +20,7 @@ ASM_GLOBAL ASM_PFX(AsmCpucfg)
ASM_PFX(AsmCpucfg):
cpucfg $t0, $a0
- stptr.d $t0, $a1, 0
+ stptr.w $t0, $a1, 0
jirl $zero, $ra, 0
.end