summaryrefslogtreecommitdiffstats
path: root/crypto/sparccpuid.S
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-07-02 10:06:56 +0200
committerAndy Polyakov <appro@openssl.org>2010-07-02 10:06:56 +0200
commitd9218e11e274ad09c6ae28e9638145690e9a98e7 (patch)
treec081182154d0f19c48d60d855e61e82604418dd0 /crypto/sparccpuid.S
parentSPARCv9 assembler pack: refine CPU detection on Linux, fix for "unaligned (diff)
downloadopenssl-d9218e11e274ad09c6ae28e9638145690e9a98e7.tar.xz
openssl-d9218e11e274ad09c6ae28e9638145690e9a98e7.zip
crypto/sparc*: eliminate _sparcv9_rdwrasi.
Diffstat (limited to 'crypto/sparccpuid.S')
-rw-r--r--crypto/sparccpuid.S14
1 files changed, 2 insertions, 12 deletions
diff --git a/crypto/sparccpuid.S b/crypto/sparccpuid.S
index 1140b5c559..e53c7fad61 100644
--- a/crypto/sparccpuid.S
+++ b/crypto/sparccpuid.S
@@ -232,23 +232,13 @@ _sparcv9_rdtick:
.type _sparcv9_rdtick,#function
.size _sparcv9_rdtick,.-_sparcv9_rdtick
-.global _sparcv9_rdwrasi
-.align 8
-_sparcv9_rdwrasi:
- .word 0x9340c000 !rd %asi,%o1
- .word 0x87820000 !wr %o0,%g0,%asi
- retl
- mov %o1,%o0
-.type _sparcv9_rdwrasi,#function
-.size _sparcv9_rdwrasi,.-_sparcv9_rdwrasi
-
.global _sparcv9_vis1_probe
.align 8
_sparcv9_vis1_probe:
.word 0x81b00c20 !fzeros %f0
- .word 0xc19ba002+BIAS !ldda [%sp+BIAS+2]%asi,%f0
+ add %sp,BIAS+2,%o0
retl
- nop
+ .word 0xc19a1a40 !ldda [%o0]ASI_FP16_P,%f0
.type _sparcv9_vis1_probe,#function
.size _sparcv9_vis1_probe,.-_sparcv9_vis1_probe