Home | History | Annotate | Download | only in tests

Lines Matching refs:feature

17 // - 0 if the machine provides the asked-for feature and the cpu
19 // - 1 the machine does not provide the asked-for feature or the
22 // - 2 if the asked-for feature isn't recognised (this will be the case for
23 // any feature if run on a non-s390x machine).
28 // s390x_features <feature> [<machine-model>]
201 static int go(char *feature, char *cpu)
210 if (strcmp(feature, "s390x-zarch") == 0 ) {
212 } else if (strcmp(feature, "s390x-n3") == 0 ) {
214 } else if (strcmp(feature, "s390x-stfle") == 0 ) {
216 } else if (strcmp(feature, "s390x-ldisp") == 0 ) {
218 } else if (strcmp(feature, "s390x-eimm") == 0 ) {
220 } else if (strcmp(feature, "s390x-stckf") == 0 ) {
222 } else if (strcmp(feature, "s390x-genins") == 0 ) {
224 } else if (strcmp(feature, "s390x-exrl") == 0 ) {
226 } else if (strcmp(feature, "s390x-etf3") == 0 ) {
228 } else if (strcmp(feature, "s390x-fpext") == 0 ) {
230 } else if (strcmp(feature, "s390x-dfp") == 0 ) {
232 } else if (strcmp(feature, "s390x-pfpo") == 0 ) {
235 return 2; // Unrecognised feature.
293 static int go(char *feature, char *cpu)
295 return 2; // Feature not recognised (non-s390x machine!)
309 fprintf( stderr, "usage: s390x_features <feature> [<machine-model>]\n" );