[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-GIFT] Re: Patches AMD 64 next try...
From: |
Wolfgang Müller |
Subject: |
Re: [help-GIFT] Re: Patches AMD 64 next try... |
Date: |
Wed, 28 Feb 2007 15:33:45 +0100 |
User-agent: |
KMail/1.9.1 |
On Tuesday 27 February 2007 21:11, you wrote:
Great! GDB is good :-) .
> this goes away if you change x or y into a uint64_t.
>
> i'm scared. i'd love an answer to this one. other than "magic."
No it's not magic :-) in one case you do a 32 bit addition to a 64 bit value.
Bit 31 overflows, but it is ignored. In fact, you have done a addition of a
negative 32 bit number to the 64 bit base address.
If you do a 64 bit addition, bit 31 overflows into bit 32 and is taken into
account. Everything right. "Alles palletti :-) " as some people say over
here. Any protests?
This seems to be it, correct? We just have to check that all indexes stay in
our 256x256 square.
Cheers,
Wolfgang
--
Dr. Wolfgang Müller
LS Medieninformatik
Universität Bamberg
Check out the SIG MM web site http://www.sigmm.org
- Re: [help-GIFT] Re: Patches AMD 64 next try..., risc, 2007/02/23
- Re: [help-GIFT] Re: Patches AMD 64 next try..., Wolfgang Mueller, 2007/02/25
- Re: [help-GIFT] Re: Patches AMD 64 next try..., risc, 2007/02/25
- Re: [help-GIFT] Re: Patches AMD 64 next try..., Wolfgang Mueller, 2007/02/26
- Re: [help-GIFT] Re: Patches AMD 64 next try..., risc, 2007/02/26
- Re: [help-GIFT] Re: Patches AMD 64 next try..., Wolfgang Müller, 2007/02/27
- Re: [help-GIFT] Re: Patches AMD 64 next try..., risc, 2007/02/27
- Re: [help-GIFT] Re: Patches AMD 64 next try..., Wolfgang Mueller, 2007/02/27
- Re: [help-GIFT] Re: Patches AMD 64 next try..., risc, 2007/02/27
- Re: [help-GIFT] Re: Patches AMD 64 next try...,
Wolfgang Müller <=