Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sethi and 64-bit constants
On Mon, Mar 31, 2008 at 05:08:03PM +0100, raymond.meyer%rambler.ru@localhost
wrote:
> > pseudo instruction, which (depending on the value) may generate upto 6
> > instructions.
> >
> So do you know the rules by which those instructions are generated?
Not off hand, but it's mostly obvious (simple arithmetic optmizations
on twos complement arithmetic, shift, or, ...).
> What if you need to mmap() a 4GB memory region. Is it possible on NetBSD or
> there are restrictions?
The virtual address space is full 64 bit (but limited by the processor
implementations, i.e. ~44bit on USII), so malloc() or mmap() of 4GB should be
no problem.
Martin
Home |
Main Index |
Thread Index |
Old Index