projects
/
power-instruction-analyzer.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add subf[o][.] instructions
[power-instruction-analyzer.git]
/
gen-output.sh
1
#!/bin/bash
2
case
"
$1
"
in
3
--model-only
)
4
args
=()
5
;;
6
-h
|
--help
)
7
echo
"usage:
$0
[--model-only] [-h|--help]"
8
exit
9
;;
10
''
)
11
args
=(
"--features=native_instrs"
)
12
;;
13
*)
14
echo
"invalid option; use --help for help"
>&
2
15
exit
1
16
;;
17
esac
18
exec
cargo run
"
${args[@]}
"
>
"output-for-`git describe`.json"
19