Skip to content

Commit 3985f11

Browse files
tomeksowishushanhf
andauthored
LoongArch typos
Co-authored-by: Qiao Pengcheng <[email protected]>
1 parent 8d8e705 commit 3985f11

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/coreclr/vm/callingconvention.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ class ArgIteratorTemplate : public ARGITERATOR_BASE
928928
protected:
929929
DWORD m_dwFlags; // Cached flags
930930
int m_nSizeOfArgStack; // Cached value of SizeOfArgStack
931-
#if defined(TARGET_RISCV64) || defined(TARGET_RISCV64)
931+
#if defined(TARGET_RISCV64) || defined(TARGET_LOONGARCH64)
932932
// Cached offsets of struct fields returned according to hardware floating-point calling convention
933933
// (FpStruct::Flags are packed in m_dwFlags)
934934
unsigned m_returnedFpFieldOffsets[ENREGISTERED_RETURNTYPE_MAXSIZE / sizeof(ARG_SLOT)];

src/coreclr/vm/loongarch64/calldescrworkerloongarch64.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ LOCAL_LABEL(CallDescrWorkerInternalReturnAddress):
9090
// The second returned register is integer (FpStruct::FloatInt | FpStruct::IntFloat)
9191
// Note: it will also go in here for FpStruct::OnlyOne but storing a register of trash doesn't hurt
9292
st.d $a0, $s0, CallDescrData__returnValue + 8
93-
j LOCAL_LABEL(ReturnDone)
93+
b LOCAL_LABEL(ReturnDone)
9494

9595
LOCAL_LABEL(SecondFieldFloatReturn):
9696
fst.d $fa1, $s0, CallDescrData__returnValue + 8
97-
j LOCAL_LABEL(ReturnDone)
97+
b LOCAL_LABEL(ReturnDone)
9898

9999
LOCAL_LABEL(IntReturn):
100100
// Save struct returned according to integer calling convention

0 commit comments

Comments
 (0)