From 8f736d5a3975a5d798700e6764216647258981b6 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 21 Jan 2016 16:57:56 -0500 Subject: Clarify use of yank in Go backend --- parse-opcodes | 1 + 1 file changed, 1 insertion(+) 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(): -- cgit v1.2.3