Skip to content

Conversation

@Verney7
Copy link
Contributor

@Verney7 Verney7 commented Aug 12, 2025

Updated the configure script and test_lib.h to recognize and handle the sw_64 architecture, ensuring proper detection and reporting of compile-time flags for this platform.

In this commit, support for a new architecture sw_64 is added to RHash. sw_64 is a new RISC ISA in open source world. Though it is a rather new ISA, it has been added to openEuler and openAnolis port since 2020.

More information about sw_64 ISA:

$ uname -m
sw_64
$ gcc -E -dM - < /dev/null|grep __sw_64__
#define __sw_64__ 1
$ gcc -E -dM - < /dev/null|grep BYTE_ORDER
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__

Updated the configure script and test_lib.h to recognize and handle the sw_64 architecture, ensuring proper detection and reporting of compile-time flags for this platform.
@Verney7 Verney7 changed the title Add support for sw_64 architecture Feat: Add support for sw_64 architecture Aug 12, 2025
@Verney7 Verney7 marked this pull request as ready for review August 12, 2025 04:36
@rhash rhash merged commit 76204cf into rhash:master Sep 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants