| 61 | } |
| 62 | |
| 63 | void spvOpcodeSplit(const uint32_t word, uint16_t* pWordCount, |
| 64 | uint16_t* pOpcode) { |
| 65 | if (pWordCount) { |
| 66 | *pWordCount = (uint16_t)((0xffff0000 & word) >> 16); |
| 67 | } |
| 68 | if (pOpcode) { |
| 69 | *pOpcode = 0x0000ffff & word; |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | void spvInstructionCopy(const uint32_t* words, const spv::Op opcode, |
| 74 | const uint16_t wordCount, const spv_endianness_t endian, |
no outgoing calls