Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.55
 
1.56
 
MAIN:ragge:20110605100528
 
local.c
_>780780         printf("\\0\"\n");
 781781 }
 782782 
<>783 -static int inbits, inval;
 784 -
785783 /*
<>786 - * set fsz bits in sequence to zero.
 787 - */
 788 -void
 789 -zbits(OFFSZ off, int fsz)
 790 -{
 791 -        int m;
 792 -
 793 -        if (idebug)
 794 -                printf("zbits off %lld, fsz %d inbits %d\n", off, fsz, inbits);
 795 -        if ((m = (inbits % SZCHAR))) {
 796 -                m = SZCHAR - m;
 797 -                if (fsz < m) {
 798 -                        inbits += fsz;
 799 -                        return;
 800 -                } else {
 801 -                        fsz -= m;
 802 -                        printf("\t.byte %d\n", inval);
 803 -                        inval = inbits = 0;
 804 -                }
 805 -        }
 806 -        if (fsz >= SZCHAR) {
 807 -#ifdef MACHOABI
 808 -                printf("\t.space %d\n", fsz/SZCHAR);
 809 -#else
 810 -                printf("\t.zero %d\n", fsz/SZCHAR);
 811 -#endif
 812 -                fsz -= (fsz/SZCHAR) * SZCHAR;
 813 -        }
 814 -        if (fsz) {
 815 -                inval = 0;
 816 -                inbits = fsz;
 817 -        }
 818 -}
 819 -
 820 -/*
 821 - * Initialize a bitfield.
 822 - */
 823 -void
 824 -infld(CONSZ off, int fsz, CONSZ val)
 825 -{
 826 -        if (idebug)
 827 -                printf("infld off %lld, fsz %d, val %lld inbits %d\n",
 828 -                    off, fsz, val, inbits);
 829 -        val &= (((((CONSZ)1 << (fsz-1))-1)<<1)|1);
 830 -        while (fsz + inbits >= SZCHAR) {
 831 -                inval |= (val << inbits);
 832 -                printf("\t.byte %d\n", inval & 255);
 833 -                fsz -= (SZCHAR - inbits);
 834 -                val >>= (SZCHAR - inbits);
 835 -                inval = inbits = 0;
 836 -        }
 837 -        if (fsz) {
 838 -                inval |= (val << inbits);
 839 -                inbits += fsz;
 840 -        }
 841 -}
 842 -
 843 -/*
<_844784  * print out a constant node, may be associated with a label.
 845785  * Do not free the node after use.
 846786  * off is bit offset from the beginning of the aggregate
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-07-11 00:54 +0200