static_inst.cc (12789:b28b286fa57d) static_inst.cc (13367:dc06baae4275)
1/*
2 * Copyright (c) 2010-2014, 2016-2018 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

--- 310 unchanged lines hidden (view full) ---

319 break;
320 default:
321 ccprintf(os, "r%d", reg_idx);
322 break;
323 }
324 }
325}
326
1/*
2 * Copyright (c) 2010-2014, 2016-2018 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

--- 310 unchanged lines hidden (view full) ---

319 break;
320 default:
321 ccprintf(os, "r%d", reg_idx);
322 break;
323 }
324 }
325}
326
327void ArmStaticInst::printPFflags(std::ostream &os, int flag) const
328{
329 const char *flagtoprfop[]= { "PLD", "PLI", "PST", "Reserved"};
330 const char *flagtotarget[] = { "L1", "L2", "L3", "Reserved"};
331 const char *flagtopolicy[] = { "KEEP", "STRM"};
332
333 ccprintf(os, "%s%s%s", flagtoprfop[(flag>>3)&3],
334 flagtotarget[(flag>>1)&3], flagtopolicy[flag&1]);
335}
336
327void
328ArmStaticInst::printFloatReg(std::ostream &os, RegIndex reg_idx) const
329{
330 ccprintf(os, "f%d", reg_idx);
331}
332
333void
334ArmStaticInst::printVecReg(std::ostream &os, RegIndex reg_idx) const

--- 760 unchanged lines hidden ---
337void
338ArmStaticInst::printFloatReg(std::ostream &os, RegIndex reg_idx) const
339{
340 ccprintf(os, "f%d", reg_idx);
341}
342
343void
344ArmStaticInst::printVecReg(std::ostream &os, RegIndex reg_idx) const

--- 760 unchanged lines hidden ---