mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 10:26:12 +00:00
add -g 6 for Sandybridge
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
This commit is contained in:
parent
db8aedc745
commit
eb92c228cd
@ -49,7 +49,7 @@ static const struct option longopts[] = {
|
|||||||
|
|
||||||
static void usage(void)
|
static void usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "usage: intel-gen4asm [-o outputfile] [-g <4|5>] inputfile\n");
|
fprintf(stderr, "usage: intel-gen4asm [-o outputfile] [-g <4|5|6>] inputfile\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
@ -70,7 +70,7 @@ int main(int argc, char **argv)
|
|||||||
case 'g':
|
case 'g':
|
||||||
gen_level = strtol(optarg, NULL, 0);
|
gen_level = strtol(optarg, NULL, 0);
|
||||||
|
|
||||||
if (gen_level < 4 || gen_level > 5) {
|
if (gen_level < 4 || gen_level > 6) {
|
||||||
usage();
|
usage();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user