Lines Matching refs:arch
13 // - 0 if the machine matches the asked-for arch
14 // - 1 if it doesn't match but does match the name of another arch
15 // - 2 if it doesn't match the name of any arch
34 static Bool go(char* arch)
37 if ( 0 == strcmp( arch, "x86" ) ) return True;
40 if ( 0 == strcmp( arch, "x86" ) ) return True;
41 if ( 0 == strcmp( arch, "amd64" ) ) return True;
44 if ( 0 == strcmp( arch, "ppc32" ) ) return True;
47 if ( 0 == strcmp( arch, "ppc64" ) ) return True;
48 if ( 0 == strcmp( arch, "ppc32" ) ) return True;
53 if ( 0 == strcmp( arch, "ppc64" ) ) return True;
54 if ( 0 == strcmp( arch, "ppc32" ) ) return True;
56 if ( 0 == strcmp( arch, "ppc32" ) ) return True;
60 if ( 0 == strcmp( arch, "arm" ) ) return True;
76 fprintf( stderr, "usage: arch_test <arch-type>\n" );
84 return 1; // Didn't match, but named another arch.