Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libarch/sparc/v8



Module Name:    src
Committed By:   uwe
Date:           Mon Sep 11 12:00:45 UTC 2023

Modified Files:
        src/lib/libarch/sparc/v8: sparc_v8.S

Log Message:
sparc_v8.S: fix v8 .mul/.umul versions to conform to psABI

Both .mul and .umul are defined to return the most significant 32 bits
of the result in %o1, but v8 multiplication instructions put them in
%y.  Move them to %o1.  Nothing in the gcc generated code depends on
this, but hand-written assembly can rely on this and e.g. Self does.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libarch/sparc/v8/sparc_v8.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index