utility.cc (13116:d3c3e2533928) utility.cc (13361:f70518db0f0a)
1/*
2 * Copyright (c) 2009-2014, 2016-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

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

787 case MISCREG_FPCR:
788 case MISCREG_FPSR:
789 case MISCREG_FPEXC32_EL2:
790 trapToMon = cptr.tfp;
791 *isVfpNeon = true;
792 break;
793 // CPACR, CPTR
794 case MISCREG_CPACR_EL1:
1/*
2 * Copyright (c) 2009-2014, 2016-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

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

787 case MISCREG_FPCR:
788 case MISCREG_FPSR:
789 case MISCREG_FPEXC32_EL2:
790 trapToMon = cptr.tfp;
791 *isVfpNeon = true;
792 break;
793 // CPACR, CPTR
794 case MISCREG_CPACR_EL1:
795 if (el == EL1) {
795 if (el == EL1 || el == EL2) {
796 trapToMon = cptr.tcpac;
797 }
798 break;
799 case MISCREG_CPTR_EL2:
800 if (el == EL2) {
801 trapToMon = cptr.tcpac;
802 }
803 break;

--- 188 unchanged lines hidden ---
796 trapToMon = cptr.tcpac;
797 }
798 break;
799 case MISCREG_CPTR_EL2:
800 if (el == EL2) {
801 trapToMon = cptr.tcpac;
802 }
803 break;

--- 188 unchanged lines hidden ---