atom feed17 messages in org.freebsd.freebsd-standardstime_t on sparc64
FromSent OnAttachments
Harti BrandtOct 13, 2003 6:42 am 
Bruce EvansOct 13, 2003 11:20 am 
Harti BrandtOct 14, 2003 1:40 am 
Garance A DrosihnOct 14, 2003 10:52 am 
Bruce EvansOct 14, 2003 12:30 pm 
Marcel MoolenaarOct 14, 2003 3:51 pm 
Marcel MoolenaarOct 15, 2003 12:46 am 
Kris KennawayOct 15, 2003 12:53 am 
John-Mark GurneyOct 15, 2003 1:57 am 
Harti BrandtOct 15, 2003 2:02 am 
Garance A DrosihnOct 15, 2003 11:57 am 
Marcel MoolenaarOct 15, 2003 12:10 pm 
Garance A DrosihnOct 15, 2003 1:14 pm 
Harti BrandtOct 15, 2003 11:26 pm 
Harti BrandtOct 16, 2003 3:48 am 
Garance A DrosihnOct 17, 2003 12:28 pm 
Harti BrandtOct 20, 2003 1:01 am 
Subject:time_t on sparc64
From:Harti Brandt (bra@fokus.fraunhofer.de)
Date:Oct 15, 2003 2:02:58 am
List:org.freebsd.freebsd-standards

On Wed, 15 Oct 2003, John-Mark Gurney wrote:

JG>Marcel Moolenaar wrote this message on Wed, Oct 15, 2003 at 00:44 -0700: JG>> Yes. The MI code is already done and there's not much MD code that JG>> is expected to break. It's mostly the structures that change. This JG>> is especially painful on sparc64 because it's big-endian. I assume JG>> that sparc64 passes syscall arguments in registers, so the syscalls JG>> that take a time_t do not change except that there's no sign extension JG>> prior to use. You can preserve the ABI until 2038 by ignoring the JG>> upper 32-bits in that case. JG> JG>There is if you load a signed 32bit value into the register... sparc JG>will automaticly sign extend the register when loading a 32bit value.. JG>This was done to be backwards compatible with sparcv8. JG> JG>So the question is, does the values get loaded into different registers? JG>or are they packed into a single register?

I guess, IF we go the road now to change time_t to 64 bit, we should NOW break the ABI (if this change breaks the ABI). This brings us more in line with other systems and platforms and is a lot less problematic now that we have only -current than later. I suggest we do it NOW especially given that ia64 already does this and, obviously, has worked out the MI problems.

harti