require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_MIPS_ARCHTYPE_H_)) {
    eval 'sub _MIPS_ARCHTYPE_H_ () {1;}' unless defined(&_MIPS_ARCHTYPE_H_);
    eval 'sub ARC_CLASS () {0x;}' unless defined(&ARC_CLASS);
    eval 'sub ACER_PICA_61 () {0x1;}' unless defined(&ACER_PICA_61);
    eval 'sub MAGNUM () {0x2;}' unless defined(&MAGNUM);
    eval 'sub DESKSTATION_RPC44 () {0x3;}' unless defined(&DESKSTATION_RPC44);
    eval 'sub DESKSTATION_TYNE () {0x4;}' unless defined(&DESKSTATION_TYNE);
    eval 'sub NKK_AQUARIUS () {0x5;}' unless defined(&NKK_AQUARIUS);
    eval 'sub NEC_R94 () {0x6;}' unless defined(&NEC_R94);
    eval 'sub SNI_RM200 () {0x7;}' unless defined(&SNI_RM200);
    eval 'sub SGI_CLASS () {0x10;}' unless defined(&SGI_CLASS);
    eval 'sub SGI_CRIMSON () {0x11;}' unless defined(&SGI_CRIMSON);
    eval 'sub SGI_ONYX () {0x12;}' unless defined(&SGI_ONYX);
    eval 'sub SGI_INDIGO () {0x13;}' unless defined(&SGI_INDIGO);
    eval 'sub SGI_POWER () {0x14;}' unless defined(&SGI_POWER);
    eval 'sub SGI_INDY () {0x15;}' unless defined(&SGI_INDY);
    eval 'sub SGI_POWER10 () {0x16;}' unless defined(&SGI_POWER10);
    eval 'sub SGI_POWERI () {0x17;}' unless defined(&SGI_POWERI);
    eval 'sub SGI_O2 () {0x18;}' unless defined(&SGI_O2);
    eval 'sub SGI_O200 () {0x19;}' unless defined(&SGI_O200);
    eval 'sub SGI_O2000 () {0x1a;}' unless defined(&SGI_O2000);
    eval 'sub SGI_OCTANE () {0x1b;}' unless defined(&SGI_OCTANE);
    eval 'sub ALGOR_CLASS () {0x20;}' unless defined(&ALGOR_CLASS);
    eval 'sub ALGOR_P4032 () {0x21;}' unless defined(&ALGOR_P4032);
    eval 'sub ALGOR_P5064 () {0x22;}' unless defined(&ALGOR_P5064);
    eval 'sub GALILEO_CLASS () {0x30;}' unless defined(&GALILEO_CLASS);
    eval 'sub GALILEO_G9 () {0x31;}' unless defined(&GALILEO_G9);
    eval 'sub GALILEO_EV64240 () {0x32;}' unless defined(&GALILEO_EV64240);
    eval 'sub GALILEO_EV64340 () {0x33;}' unless defined(&GALILEO_EV64340);
    eval 'sub MOMENTUM_CLASS () {0x40;}' unless defined(&MOMENTUM_CLASS);
    eval 'sub MOMENTUM_CP7000 () {0x41;}' unless defined(&MOMENTUM_CP7000);
    eval 'sub MOMENTUM_CP7000G () {0x42;}' unless defined(&MOMENTUM_CP7000G);
    eval 'sub MOMENTUM_JAGUAR () {0x43;}' unless defined(&MOMENTUM_JAGUAR);
    eval 'sub WG_CLASS () {0x50;}' unless defined(&WG_CLASS);
    eval 'sub WG4308 () {0x52;}' unless defined(&WG4308);
    eval 'sub WG4309 () {0x53;}' unless defined(&WG4309);
    eval 'sub WG4409 () {0x54;}' unless defined(&WG4409);
    eval 'sub WG8138 () {0x55;}' unless defined(&WG8138);
    eval 'sub WG8168 () {0x56;}' unless defined(&WG8168);
    eval 'sub WG6000 () {0x57;}' unless defined(&WG6000);
    eval 'sub WG7000 () {0x58;}' unless defined(&WG7000);
    eval 'sub WG8200 () {0x59;}' unless defined(&WG8200);
    eval 'sub WG8232 () {0x5a;}' unless defined(&WG8232);
    eval 'sub MISC_CLASS () {0xf0;}' unless defined(&MISC_CLASS);
    eval 'sub LAGUNA () {0xf1;}' unless defined(&LAGUNA);
    eval 'sub ARCHCLASS {
        my($n) = @_;
	    eval q((($n) & 0xf0));
    }' unless defined(&ARCHCLASS);
}
1;
