1%default {"instr":"sub x0, xzr, x0"}
2    /*
3     * Generic 64-bit unary operation.  Provide an "instr" line that
4     * specifies an instruction that performs "result = op x0".
5     *
6     * For: neg-long, not-long
7     */
8    /* unop vA, vB */
9    lsr     w3, wINST, #12              // w3<- B
10    ubfx    w4, wINST, #8, #4           // w4<- A
11    GET_VREG_WIDE x0, w3
12    FETCH_ADVANCE_INST 1                // advance rPC, load wINST
13    $instr
14    GET_INST_OPCODE ip                  // extract opcode from wINST
15    SET_VREG_WIDE x0, w4
16    GOTO_OPCODE ip                      // jump to next instruction
17    /* 10-11 instructions */
18