[openssl/openssl] a60754: LoongArch64 assembly pack: Really implement OPENSS...

Xi Ruoyao noreply at github.com
Tue Dec 19 17:37:17 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: a607546e6e4e2f96df707324fe892342594cd7ff
      https://github.com/openssl/openssl/commit/a607546e6e4e2f96df707324fe892342594cd7ff
  Author: Xi Ruoyao <xry111 at xry111.site>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M crypto/loongarch64cpuid.pl

  Log Message:
  -----------
  LoongArch64 assembly pack: Really implement OPENSSL_rdtsc

LoongArch [rdtimel.w][1] instruction reads the low 32 bits of the
64-bit stable counter, implement OPENSSL_rdtsc with it instead of always
returning 0.

[1]:https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_rdtimelh_w_rdtime_d

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22823)




More information about the openssl-commits mailing list