macromem.cc (10037:5cac77888310) | macromem.cc (10180:e40b35147270) |
---|---|
1/* 2 * Copyright (c) 2010-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 1469 unchanged lines hidden (view full) --- 1478 return ss.str(); 1479} 1480 1481std::string 1482MicroMemOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const 1483{ 1484 std::stringstream ss; 1485 printMnemonic(ss); | 1/* 2 * Copyright (c) 2010-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 1469 unchanged lines hidden (view full) --- 1478 return ss.str(); 1479} 1480 1481std::string 1482MicroMemOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const 1483{ 1484 std::stringstream ss; 1485 printMnemonic(ss); |
1486 printReg(ss, ura); | 1486 if (isFloating()) 1487 printReg(ss, ura + FP_Reg_Base); 1488 else 1489 printReg(ss, ura); |
1487 ss << ", ["; 1488 printReg(ss, urb); 1489 ss << ", "; 1490 ccprintf(ss, "#%d", imm); 1491 ss << "]"; 1492 return ss.str(); 1493} 1494 1495} | 1490 ss << ", ["; 1491 printReg(ss, urb); 1492 ss << ", "; 1493 ccprintf(ss, "#%d", imm); 1494 ss << "]"; 1495 return ss.str(); 1496} 1497 1498} |