Home | History | Annotate | Download | only in llvm-readobj

Lines Matching refs:OC

231 bool Decoder::opcode_0xxxxxxx(const uint8_t *OC, unsigned &Offset,
233 uint8_t Imm = OC[Offset] & 0x7f;
235 OC[Offset],
242 bool Decoder::opcode_10Lxxxxx(const uint8_t *OC, unsigned &Offset,
244 unsigned Link = (OC[Offset] & 0x20) >> 5;
246 | ((OC[Offset + 0] & 0x1f) << 8)
247 | ((OC[Offset + 1] & 0xff) << 0);
252 OC[Offset + 0], OC[Offset + 1],
261 bool Decoder::opcode_1100xxxx(const uint8_t *OC, unsigned &Offset,
265 OC[Offset], OC[Offset] & 0xf);
268 OC[Offset], OC[Offset] & 0xf);
273 bool Decoder::opcode_11010Lxx(const uint8_t *OC, unsigned &Offset,
275 unsigned Link = (OC[Offset] & 0x4) >> 3;
276 unsigned Count = (OC[Offset] & 0x3);
281 SW.startLine() << format("0x%02x ; %s ", OC[Offset],
290 bool Decoder::opcode_11011Lxx(const uint8_t *OC, unsigned &Offset,
292 unsigned Link = (OC[Offset] & 0x4) >> 2;
293 unsigned Count = (OC[Offset] & 0x3) + 4;
298 SW.startLine() << format("0x%02x ; %s.w ", OC[Offset],
307 bool Decoder::opcode_11100xxx(const uint8_t *OC, unsigned &Offset,
309 unsigned High = (OC[Offset] & 0x7);
312 SW.startLine() << format("0x%02x ; %s ", OC[Offset],
321 bool Decoder::opcode_111010xx(const uint8_t *OC, unsigned &Offset,
323 uint16_t Imm = ((OC[Offset + 0] & 0x03) << 8) | ((OC[Offset + 1] & 0xff) << 0);
326 OC[Offset + 0], OC[Offset + 1],
334 bool Decoder::opcode_1110110L(const uint8_t *OC, unsigned &Offset,
336 uint8_t GPRMask = ((OC[Offset + 0] & 0x01) << (Prologue ? 14 : 15))
337 | ((OC[Offset + 1] & 0xff) << 0);
339 SW.startLine() << format("0x%02x 0x%02x ; %s ", OC[Offset + 0],
340 OC[Offset + 1], Prologue ? "push" : "pop");
348 bool Decoder::opcode_11101110(const uint8_t *OC, unsigned &Offset,
352 if (OC[Offset + 1] & 0xf0)
354 OC[Offset + 0], OC[Offset + 1]);
358 OC[Offset + 0], OC[Offset + 1], OC[Offset + 1] & 0x0f);
364 bool Decoder::opcode_11101111(const uint8_t *OC, unsigned &Offset,
368 if (OC[Offset + 1] & 0xf0)
370 OC[Offset + 0], OC[Offset + 1]);
374 OC[Offset + 0], OC[Offset + 1], OC[Offset + 1] << 2);
380 bool Decoder::opcode_11110101(const uint8_t *OC, unsigned &Offset,
382 unsigned Start = (OC[Offset + 1] & 0xf0) >> 4;
383 unsigned End = (OC[Offset + 1] & 0x0f) >> 0;
386 SW.startLine() << format("0x%02x 0x%02x ; %s ", OC[Offset + 0],
387 OC[Offset + 1], Prologue ? "vpush" : "vpop");
395 bool Decoder::opcode_11110110(const uint8_t *OC, unsigned &Offset,
397 unsigned Start = (OC[Offset + 1] & 0xf0) >> 4;
398 unsigned End = (OC[Offset + 1] & 0x0f) >> 0;
401 SW.startLine() << format("0x%02x 0x%02x ; %s ", OC[Offset + 0],
402 OC[Offset + 1], Prologue ? "vpush" : "vpop");
410 bool Decoder::opcode_11110111(const uint8_t *OC, unsigned &Offset,
412 uint32_t Imm = (OC[Offset + 1] << 8) | (OC[Offset + 2] << 0);
415 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2],
423 bool Decoder::opcode_11111000(const uint8_t *OC, unsigned &Offset,
425 uint32_t Imm = (OC[Offset + 1] << 16)
426 | (OC[Offset + 2] << 8)
427 | (OC[Offset + 3] << 0);
431 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], OC[Offset + 3],
438 bool Decoder::opcode_11111001(const uint8_t *OC, unsigned &Offset,
440 uint32_t Imm = (OCOC[Offset + 2] << 0);
444 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2],
451 bool Decoder::opcode_11111010(const uint8_t *OC, unsigned &Offset,
453 uint32_t Imm = (OC[Offset + 1] << 16)
454 | (OC[Offset + 2] << 8)
455 | (OC[Offset + 3] << 0);
459 OC[Offset + 0], OC[Offset + 1], OC[Offset + 2], OC[Offset + 3],
466 bool Decoder::opcode_11111011(const uint8_t *OC, unsigned &Offset,
468 SW.startLine() << format("0x%02x ; nop\n", OC[Offset]);
473 bool Decoder::opcode_11111100(const uint8_t *OC, unsigned &Offset,
475 SW.startLine() << format("0x%02x ; nop.w\n", OC[Offset]);
480 bool Decoder::opcode_11111101(const uint8_t *OC, unsigned &Offset,
482 SW.startLine() << format("0x%02x ; b\n", OC[Offset]);
487 bool Decoder::opcode_11111110(const uint8_t *OC, unsigned &Offset,
489 SW.startLine() << format("0x%02x ; b.w\n", OC[Offset]);
494 bool Decoder::opcode_11111111(const uint8_t *OC, unsigned &Offset,