mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-07 16:06:25 +00:00
assembler/skl: Add gen 9 to the -g option
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
fe4e4c176c
commit
2149d6e5f8
@ -100,7 +100,7 @@ static void usage(void)
|
|||||||
fprintf(stderr, "usage: intel-gen4disasm [options] inputfile\n");
|
fprintf(stderr, "usage: intel-gen4disasm [options] inputfile\n");
|
||||||
fprintf(stderr, "\t-b, --binary C style binary output\n");
|
fprintf(stderr, "\t-b, --binary C style binary output\n");
|
||||||
fprintf(stderr, "\t-o, --output {outputfile} Specify output file\n");
|
fprintf(stderr, "\t-o, --output {outputfile} Specify output file\n");
|
||||||
fprintf(stderr, "\t-g, --gen <4|5|6|7|8> Specify GPU generation\n");
|
fprintf(stderr, "\t-g, --gen <4|5|6|7|8|9> Specify GPU generation\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
@ -127,7 +127,7 @@ int main(int argc, char **argv)
|
|||||||
case 'g':
|
case 'g':
|
||||||
gen = strtol(optarg, NULL, 10);
|
gen = strtol(optarg, NULL, 10);
|
||||||
|
|
||||||
if (gen < 4 || gen > 8) {
|
if (gen < 4 || gen > 9) {
|
||||||
usage();
|
usage();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
@ -97,7 +97,7 @@ static void usage(void)
|
|||||||
fprintf(stderr, "\t-e, --export {exportfile} Export label file\n");
|
fprintf(stderr, "\t-e, --export {exportfile} Export label file\n");
|
||||||
fprintf(stderr, "\t-l, --input_list {entrytablefile} Input entry_table_list file\n");
|
fprintf(stderr, "\t-l, --input_list {entrytablefile} Input entry_table_list file\n");
|
||||||
fprintf(stderr, "\t-o, --output {outputfile} Specify output file\n");
|
fprintf(stderr, "\t-o, --output {outputfile} Specify output file\n");
|
||||||
fprintf(stderr, "\t-g, --gen <4|5|6|7|8> Specify GPU generation\n");
|
fprintf(stderr, "\t-g, --gen <4|5|6|7|8|9> Specify GPU generation\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int hash(char *key)
|
static int hash(char *key)
|
||||||
@ -311,7 +311,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gen_level < 40 || gen_level > 80) {
|
if (gen_level < 40 || gen_level > 90) {
|
||||||
usage();
|
usage();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user