Re: [PATCH GIT 0.6] make use of register variables & size_t
- From
- Rene Rebe <rene@exactcode.de>
- Date
- Apr 25, 2005, 11:39 UTC
- Message-ID
- <426CD703.5040009@exactcode.de>
- In-Reply-To
- <426CD1F1.2010101@tiscali.de>
Hi,
Matthias-Christian Ott wrote:
> The "git" didn't try store small variables, which aren't referenced, in > the processor registers. It also didn't use the size_t type. I corrected > a C++ style comment too.
Well, modern compilers take register as a non-binding hint. Your register storage specification for those loop counters will not make any change. You have not looked into the resulting binary?
Also // is valid C99 ...
Yours,
--
René Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
http://www.exactcode.de/ | http://www.t2-project.org/
+49 (0)30 255 897 45