brpc icon indicating copy to clipboard operation
brpc copied to clipboard

Support mips64

Open IronsDu opened this issue 2 months ago • 3 comments

What problem does this PR solve?

Issue Number:

Problem Summary:

What is changed and the side effects?

Changed:

Side effects:

  • Performance effects:

  • Breaking backward compatibility:


Check List:

IronsDu avatar Oct 23 '25 07:10 IronsDu

@zhaixiaojuan 大神,可以帮帮我么?

IronsDu avatar Oct 23 '25 07:10 IronsDu

@zhaixiaojuan https://github.com/apache/brpc/pull/3123/commits/b365da9634028856eb24c8f6e2feacc04f7a7150 这个commit是尝试在龙芯mips64架构下支持brpc的bthread。我是仿照boost context加的 (https://github.com/boostorg/context/blob/develop/src/asm/jump_mips64_n64_elf_gas.S 和 https://github.com/boostorg/context/blob/develop/src/asm/make_mips64_n64_elf_gas.S)。

但运行brpc的bthread 单元用例时,有些用例跑不过,提示总线错误或段错误。问了一些AI,给的修改版本还是不行,所以我现在提交的版本是我最初自己仿照boost而做的修改。

IronsDu avatar Oct 23 '25 07:10 IronsDu

抱歉,我提交MR时选错目标,导致提交到brpc官方这里来了。 请brpc维护者先无视此MR。

IronsDu avatar Oct 23 '25 08:10 IronsDu