dfaf77
commit 45c2935e88d1eaf34c0769f9b514c0dcb0e43c1d
dfaf77
Author: William Cohen <wcohen@redhat.com>
dfaf77
Date:   Wed Jun 22 14:08:30 2016 -0400
dfaf77
dfaf77
    Correct IBM Power7 and Power8 computation of PAPI_L1_DCA
dfaf77
    
dfaf77
    When reviewing the test results for IBM Power7 and Power8 Michael
dfaf77
    Petlan found that the PAPI_L1_DCA preset was incorrectly computed.
dfaf77
    The L1 cache misses need to be subtracted rather than added to the
dfaf77
    result.
dfaf77
    
dfaf77
    Signed-off-by: William Cohen <wcohen@redhat.com>
dfaf77
dfaf77
diff --git a/src/papi_events.csv b/src/papi_events.csv
dfaf77
index 5c04442..2d2eca0 100644
dfaf77
--- a/src/papi_events.csv
dfaf77
+++ b/src/papi_events.csv
dfaf77
@@ -1349,7 +1349,7 @@ PRESET,PAPI_L1_LDM,NOT_DERIVED,PM_LD_MISS_L1
dfaf77
 PRESET,PAPI_L1_STM,NOT_DERIVED,PM_ST_MISS_L1
dfaf77
 PRESET,PAPI_L1_DCW,DERIVED_SUB,PM_ST_FIN,PM_ST_MISS_L1
dfaf77
 PRESET,PAPI_L1_DCR,DERIVED_SUB,PM_LD_REF_L1,PM_LD_MISS_L1
dfaf77
-PRESET,PAPI_L1_DCA,DERIVED_POSTFIX,N0|N1|+|N2|+|N3|+,PM_ST_FIN,PM_ST_MISS_L1,PM_LD_REF_L1,PM_LD_MISS_L1
dfaf77
+PRESET,PAPI_L1_DCA,DERIVED_POSTFIX,N0|N1|-|N2|+|N3|-,PM_ST_FIN,PM_ST_MISS_L1,PM_LD_REF_L1,PM_LD_MISS_L1
dfaf77
 PRESET,PAPI_L2_DCM,NOT_DERIVED,PM_DATA_FROM_L2MISS
dfaf77
 PRESET,PAPI_L2_LDM,NOT_DERIVED,PM_L2_LD_MISS
dfaf77
 PRESET,PAPI_L2_STM,NOT_DERIVED,PM_L2_ST_MISS
dfaf77
@@ -1398,7 +1398,7 @@ PRESET,PAPI_L1_LDM,NOT_DERIVED,PM_LD_MISS_L1
dfaf77
 PRESET,PAPI_L1_STM,NOT_DERIVED,PM_ST_MISS_L1
dfaf77
 PRESET,PAPI_L1_DCW,DERIVED_SUB,PM_ST_FIN,PM_ST_MISS_L1
dfaf77
 PRESET,PAPI_L1_DCR,DERIVED_SUB,PM_LD_REF_L1,PM_LD_MISS_L1
dfaf77
-PRESET,PAPI_L1_DCA,DERIVED_POSTFIX,N0|N1|+|N2|+|N3|+,PM_ST_FIN,PM_ST_MISS_L1,PM_LD_REF_L1,PM_LD_MISS_L1
dfaf77
+PRESET,PAPI_L1_DCA,DERIVED_POSTFIX,N0|N1|-|N2|+|N3|-,PM_ST_FIN,PM_ST_MISS_L1,PM_LD_REF_L1,PM_LD_MISS_L1
dfaf77
 PRESET,PAPI_L2_DCM,NOT_DERIVED,PM_DATA_FROM_L2MISS
dfaf77
 #n/aPRESET,PAPI_L2_LDM,NOT_DERIVED,PM_L2_LD_MISS
dfaf77
 #n/aPRESET,PAPI_L2_STM,NOT_DERIVED,PM_L2_ST_MISS