Thread (10 messages) 10 messages, 6 authors, 1999-11-29

Re: bootloader & head.S weirdness & restructuring

From: Dan Malek <hidden>
Date: 1999-11-25 19:49:35

Geert Uytterhoeven wrote:

Alternatively, you can base your decisions on specific features that are shared
among different machine types, and say

    if (has_feature_a) {
        ...
    }

instead of

    #if defined(CONFIG_x) || defined(CONFIG_y) || defined(CONFIG_z)
    ...
    #endif

Yes, but one of the things I am trying to do is reduce the
code size and instructions to execute.  On a 500 MHz G4 with
a Gigabyte of memory, a few extra instructions is no big deal.
On a 33 MHz 8xx with 8 Mbytes of memory, you watch all of this
pretty closely :-).


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help