eddelbuettel / digest

R package to create compact hash digests of R objects
https://eddelbuettel.github.io/digest
111 stars 47 forks source link

Add Loongarch info #175

Closed fangyaling closed 2 years ago

fangyaling commented 2 years ago

Add loongarch info

eddelbuettel commented 2 years ago

Sure, can do -- can you remind me (for documentation purposes) which CPU types identify that way?

fangyaling commented 2 years ago

The LoongArch architecture (LoongArch) is an Instruction Set Architecture (ISA) that has Reduced Instruction Set Computer (RISC) style. And more infomation you can get from the link:https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html

eddelbuettel commented 2 years ago

Very good, thanks/. Almost too much detail.

Could you maybe provide simpler information on

to help me assess relevancy?

eddelbuettel commented 2 years ago

This helps somewhat: https://en.wikipedia.org/wiki/Loongson

So is this a mostly / exclusively within-China Linux-style cpu?

fangyaling commented 2 years ago

Thanks for review. But now I will close this change for duplicate definition after checking the gcc define.

eddelbuettel commented 2 years ago

Oh, so the gcc define works for you? Otherwise we can of course enable this. I am just not that familiar with non-standard cpus (and for me that means non-Intel or AMD, I just don't keep track of the many ARM or MIPS variants ...).

Let me know if this needs anything, if so we should support it.

fangyaling commented 2 years ago

OK. I got it.Thanks!