This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Statement operand iterators


Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> writes:

>> Odd.  Could you please compare generated code with your first and
>> second patch and figure out why the first patch is worse?
>
> with the second patch, all the switch statements are eliminated in
> compile time (since we create separate copy of the code for each type
> of operands). 

Unless I miss my guess, that should happen with the inline function too?

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]