On Fri, Dec 16, 2016 at 8:29 PM, alvin albrecht
<alvin_albre...@hotmail.com> wrote:
>
> What I found useful is to examine line ~1409 in
> https://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/src/SDCCpeeph.c#l1409
> (static const struct ftab).  This structure defines all the conditions that
> can be placed on peephole rules.  Their implementation is just above that
> structure.  This is what I wish I had known about when I first started
> making my own peephole rules.
>

Very informative, thank you! I'm not very acquainted with the
internals - I gave the file a two-over but missed that section.

> The description of peepholer posted by R0b0t1 describes simple peepholers.
> Sdcc’s is a little more sophisticated.
>

Can you explain how they differ? I didn't mean to say anything
specific about which rules are applied or how they might be applied.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to