Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sethi and 64-bit constants
> In general, full 64-bit constants use something like this:
> sethi %hh(val), %t1
> or %t1, %hm(val), %t1
> sethi %lm(val), %t2
> or %t2, %lo(val), %t2
> or %t1, %t2, %r1
Perhaps I'm missing something, but how does that get anything in the
high half? sethi/or produces a 32-bit value, even if the operands come
from %hh and %hm, and two 32-bit values ORed together is still a 32-bit
value. Is there an "sll %t1,32,%t1" or some such missing in there?
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents.montreal.qc.ca@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index