| From | Sent On | Attachments |
|---|---|---|
| Harti Brandt | Oct 13, 2003 6:42 am | |
| Bruce Evans | Oct 13, 2003 11:20 am | |
| Harti Brandt | Oct 14, 2003 1:40 am | |
| Garance A Drosihn | Oct 14, 2003 10:52 am | |
| Bruce Evans | Oct 14, 2003 12:30 pm | |
| Marcel Moolenaar | Oct 14, 2003 3:51 pm | |
| Marcel Moolenaar | Oct 15, 2003 12:46 am | |
| Kris Kennaway | Oct 15, 2003 12:53 am | |
| John-Mark Gurney | Oct 15, 2003 1:57 am | |
| Harti Brandt | Oct 15, 2003 2:02 am | |
| Garance A Drosihn | Oct 15, 2003 11:57 am | |
| Marcel Moolenaar | Oct 15, 2003 12:10 pm | |
| Garance A Drosihn | Oct 15, 2003 1:14 pm | |
| Harti Brandt | Oct 15, 2003 11:26 pm | |
| Harti Brandt | Oct 16, 2003 3:48 am | |
| Garance A Drosihn | Oct 17, 2003 12:28 pm | |
| Harti Brandt | Oct 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
-- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private bra...@fokus.fraunhofer.de, har...@freebsd.org





