isa.cc (12670:d662ee5a095a) | isa.cc (12671:2a9f13f15e91) |
---|---|
1/* 2 * Copyright (c) 2010-2018 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 --- 740 unchanged lines hidden (view full) --- 749 750 MiscReg old_val = readMiscRegNoEffect(MISCREG_CPACR); 751 newVal &= cpacrMask; 752 newVal |= old_val & ~cpacrMask; 753 DPRINTF(MiscRegs, "Writing misc reg %s: %#x\n", 754 miscRegName[misc_reg], newVal); 755 } 756 break; | 1/* 2 * Copyright (c) 2010-2018 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 --- 740 unchanged lines hidden (view full) --- 749 750 MiscReg old_val = readMiscRegNoEffect(MISCREG_CPACR); 751 newVal &= cpacrMask; 752 newVal |= old_val & ~cpacrMask; 753 DPRINTF(MiscRegs, "Writing misc reg %s: %#x\n", 754 miscRegName[misc_reg], newVal); 755 } 756 break; |
757 case MISCREG_CPACR_EL1: 758 { 759 const uint32_t ones = (uint32_t)(-1); 760 CPACR cpacrMask = 0; 761 cpacrMask.tta = ones; 762 cpacrMask.fpen = ones; 763 newVal &= cpacrMask; 764 DPRINTF(MiscRegs, "Writing misc reg %s: %#x\n", 765 miscRegName[misc_reg], newVal); 766 } 767 break; | |
768 case MISCREG_CPTR_EL2: 769 { 770 const uint32_t ones = (uint32_t)(-1); 771 CPTR cptrMask = 0; 772 cptrMask.tcpac = ones; 773 cptrMask.tta = ones; 774 cptrMask.tfp = ones; 775 newVal &= cptrMask; --- 1182 unchanged lines hidden --- | 757 case MISCREG_CPTR_EL2: 758 { 759 const uint32_t ones = (uint32_t)(-1); 760 CPTR cptrMask = 0; 761 cptrMask.tcpac = ones; 762 cptrMask.tta = ones; 763 cptrMask.tfp = ones; 764 newVal &= cptrMask; --- 1182 unchanged lines hidden --- |