(opcode)
| 543 | |
| 544 | // Use these for multi-byte instructions (opcode > 0x7F needing two LEB bytes): |
| 545 | function SimdInstr(opcode) { |
| 546 | if (opcode <= 0x7F) return [kSimdPrefix, opcode]; |
| 547 | return [kSimdPrefix, 0x80 | (opcode & 0x7F), opcode >> 7]; |
| 548 | } |
| 549 | function GCInstr(opcode) { |
| 550 | if (opcode <= 0x7F) return [kGCPrefix, opcode]; |
| 551 | return [kGCPrefix, 0x80 | (opcode & 0x7F), opcode >> 7]; |
no outgoing calls
no test coverage detected