diff options
author | Benjamin Barenblat <bbaren@google.com> | 2016-01-21 16:57:56 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2016-01-21 16:57:56 -0500 |
commit | 8f736d5a3975a5d798700e6764216647258981b6 (patch) | |
tree | c97e6d19dffbfcd63e62f0c256f7144a0aa9fd71 | |
parent | b307dca0dcf4fd9be9ddc5c80ead64f12d37c393 (diff) |
Clarify use of yank in Go backend
-rwxr-xr-x | parse-opcodes | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-opcodes b/parse-opcodes index c5427d2..7d7ec2d 100755 --- a/parse-opcodes +++ b/parse-opcodes @@ -798,6 +798,7 @@ def make_chisel(): def print_go_insn(name): print '\tcase A%s:' % name.upper().replace('.', '') + # Yank bits 0-6 of the encoded instruction (i.e., the opcode) and print them. print '\t\treturn 0x%x' % yank(match[name], 0, 7) def make_go(): |