static_inst.cc (10037:5cac77888310) | static_inst.cc (10338:8bee5f4edb92) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2010-2013 ARM Limited | 2 * Copyright (c) 2010-2014 ARM Limited |
3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating 9 * to a hardware implementation of the functionality of the software 10 * licensed hereunder. You may use the software subject to the license --- 319 unchanged lines hidden (view full) --- 330 case FloatRegClass: 331 ccprintf(os, "f%d", rel_reg); 332 break; 333 case MiscRegClass: 334 assert(rel_reg < NUM_MISCREGS); 335 ccprintf(os, "%s", ArmISA::miscRegName[rel_reg]); 336 break; 337 case CCRegClass: | 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating 9 * to a hardware implementation of the functionality of the software 10 * licensed hereunder. You may use the software subject to the license --- 319 unchanged lines hidden (view full) --- 330 case FloatRegClass: 331 ccprintf(os, "f%d", rel_reg); 332 break; 333 case MiscRegClass: 334 assert(rel_reg < NUM_MISCREGS); 335 ccprintf(os, "%s", ArmISA::miscRegName[rel_reg]); 336 break; 337 case CCRegClass: |
338 panic("printReg: CCRegClass but ARM has no CC regs\n"); | 338 ccprintf(os, "cc_%s", ArmISA::ccRegName[rel_reg]); 339 break; |
339 } 340} 341 342void 343ArmStaticInst::printMnemonic(std::ostream &os, 344 const std::string &suffix, 345 bool withPred, 346 bool withCond64, --- 251 unchanged lines hidden --- | 340 } 341} 342 343void 344ArmStaticInst::printMnemonic(std::ostream &os, 345 const std::string &suffix, 346 bool withPred, 347 bool withCond64, --- 251 unchanged lines hidden --- |