require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_MIPS64_REGNUM_H_)) {
    eval 'sub _MIPS64_REGNUM_H_ () {1;}' unless defined(&_MIPS64_REGNUM_H_);
    eval 'sub ZERO () {0;}' unless defined(&ZERO);
    eval 'sub AST () {1;}' unless defined(&AST);
    eval 'sub V0 () {2;}' unless defined(&V0);
    eval 'sub V1 () {3;}' unless defined(&V1);
    eval 'sub A0 () {4;}' unless defined(&A0);
    eval 'sub A1 () {5;}' unless defined(&A1);
    eval 'sub A2 () {6;}' unless defined(&A2);
    eval 'sub A3 () {7;}' unless defined(&A3);
    eval 'sub T0 () {8;}' unless defined(&T0);
    eval 'sub T1 () {9;}' unless defined(&T1);
    eval 'sub T2 () {10;}' unless defined(&T2);
    eval 'sub T3 () {11;}' unless defined(&T3);
    eval 'sub T4 () {12;}' unless defined(&T4);
    eval 'sub T5 () {13;}' unless defined(&T5);
    eval 'sub T6 () {14;}' unless defined(&T6);
    eval 'sub T7 () {15;}' unless defined(&T7);
    eval 'sub S0 () {16;}' unless defined(&S0);
    eval 'sub S1 () {17;}' unless defined(&S1);
    eval 'sub S2 () {18;}' unless defined(&S2);
    eval 'sub S3 () {19;}' unless defined(&S3);
    eval 'sub S4 () {20;}' unless defined(&S4);
    eval 'sub S5 () {21;}' unless defined(&S5);
    eval 'sub S6 () {22;}' unless defined(&S6);
    eval 'sub S7 () {23;}' unless defined(&S7);
    eval 'sub T8 () {24;}' unless defined(&T8);
    eval 'sub T9 () {25;}' unless defined(&T9);
    eval 'sub K0 () {26;}' unless defined(&K0);
    eval 'sub K1 () {27;}' unless defined(&K1);
    eval 'sub GP () {28;}' unless defined(&GP);
    eval 'sub SP () {29;}' unless defined(&SP);
    eval 'sub S8 () {30;}' unless defined(&S8);
    eval 'sub RA () {31;}' unless defined(&RA);
    eval 'sub SR () {32;}' unless defined(&SR);
    eval 'sub PS () { &SR;}' unless defined(&PS);
    eval 'sub MULLO () {33;}' unless defined(&MULLO);
    eval 'sub MULHI () {34;}' unless defined(&MULHI);
    eval 'sub BADVADDR () {35;}' unless defined(&BADVADDR);
    eval 'sub CAUSE () {36;}' unless defined(&CAUSE);
    eval 'sub PC () {37;}' unless defined(&PC);
    eval 'sub IC () {38;}' unless defined(&IC);
    eval 'sub CPL () {39;}' unless defined(&CPL);
    eval 'sub NUMSAVEREGS () {40;}' unless defined(&NUMSAVEREGS);
    eval 'sub FPBASE () { &NUMSAVEREGS;}' unless defined(&FPBASE);
    eval 'sub F0 () {( &FPBASE+0);}' unless defined(&F0);
    eval 'sub F1 () {( &FPBASE+1);}' unless defined(&F1);
    eval 'sub F2 () {( &FPBASE+2);}' unless defined(&F2);
    eval 'sub F3 () {( &FPBASE+3);}' unless defined(&F3);
    eval 'sub F4 () {( &FPBASE+4);}' unless defined(&F4);
    eval 'sub F5 () {( &FPBASE+5);}' unless defined(&F5);
    eval 'sub F6 () {( &FPBASE+6);}' unless defined(&F6);
    eval 'sub F7 () {( &FPBASE+7);}' unless defined(&F7);
    eval 'sub F8 () {( &FPBASE+8);}' unless defined(&F8);
    eval 'sub F9 () {( &FPBASE+9);}' unless defined(&F9);
    eval 'sub F10 () {( &FPBASE+10);}' unless defined(&F10);
    eval 'sub F11 () {( &FPBASE+11);}' unless defined(&F11);
    eval 'sub F12 () {( &FPBASE+12);}' unless defined(&F12);
    eval 'sub F13 () {( &FPBASE+13);}' unless defined(&F13);
    eval 'sub F14 () {( &FPBASE+14);}' unless defined(&F14);
    eval 'sub F15 () {( &FPBASE+15);}' unless defined(&F15);
    eval 'sub F16 () {( &FPBASE+16);}' unless defined(&F16);
    eval 'sub F17 () {( &FPBASE+17);}' unless defined(&F17);
    eval 'sub F18 () {( &FPBASE+18);}' unless defined(&F18);
    eval 'sub F19 () {( &FPBASE+19);}' unless defined(&F19);
    eval 'sub F20 () {( &FPBASE+20);}' unless defined(&F20);
    eval 'sub F21 () {( &FPBASE+21);}' unless defined(&F21);
    eval 'sub F22 () {( &FPBASE+22);}' unless defined(&F22);
    eval 'sub F23 () {( &FPBASE+23);}' unless defined(&F23);
    eval 'sub F24 () {( &FPBASE+24);}' unless defined(&F24);
    eval 'sub F25 () {( &FPBASE+25);}' unless defined(&F25);
    eval 'sub F26 () {( &FPBASE+26);}' unless defined(&F26);
    eval 'sub F27 () {( &FPBASE+27);}' unless defined(&F27);
    eval 'sub F28 () {( &FPBASE+28);}' unless defined(&F28);
    eval 'sub F29 () {( &FPBASE+29);}' unless defined(&F29);
    eval 'sub F30 () {( &FPBASE+30);}' unless defined(&F30);
    eval 'sub F31 () {( &FPBASE+31);}' unless defined(&F31);
    eval 'sub FSR () {( &FPBASE+32);}' unless defined(&FSR);
    eval 'sub NUMFPREGS () {33;}' unless defined(&NUMFPREGS);
    eval 'sub NREGS () {( &NUMSAVEREGS +  &NUMFPREGS);}' unless defined(&NREGS);
}
1;
