Go的汇编程序的条件跳转指令是什么?

Go's 6a assembler has conditional jump instructions:

JCC
JCS
JCXZL
JEQ
JGE
JGT
JHI
JLE
JLS
JLT
JMI
JNE
JOC
JOS
JPC
JPL
JPS

But how do they map to x86 conditional jumps?

I'm answering this so I don't lose the information, and so other people don't have to go through the same sleuthing game as me. Looking at optab.c and the x86 jumps we can match up the instruction encodings to solve the puzzle.

JCC     JAE
JCS     JB
JCXZL   JECXZ
JEQ     JE,JZ
JGE     JGE
JGT     JG
JHI     JA
JLE     JLE
JLS     JBE
JLT     JL
JMI     JS
JNE     JNE, JNZ
JOC     JNO
JOS     JO
JPC     JNP, JPO
JPL     JNS
JPS     JP, JPE

The Go assembler's arch.go says:

instructions["JA"]  = x86.AJHI
instructions["JAE"] = x86.AJCC
instructions["JB"]  = x86.AJCS
etc

which means that Go asm's JHI means Intel asm's JA, etc.