Support mips64
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:
- Please make sure your changes are compilable.
- When providing us with a new feature, it is best to add related tests.
- Please follow Contributor Covenant Code of Conduct.
@zhaixiaojuan 大神,可以帮帮我么?
@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而做的修改。
抱歉,我提交MR时选错目标,导致提交到brpc官方这里来了。 请brpc维护者先无视此MR。