#define HUGE_PAGESIZE ( 4 << 20)
#if defined(CORTEXA57)
-#define BUFFER_SIZE (40 << 20)
+#define BUFFER_SIZE (20 << 20)
#else
#define BUFFER_SIZE (16 << 20)
#endif
#define ZGEMM_DEFAULT_UNROLL_M 4
#define ZGEMM_DEFAULT_UNROLL_N 4
-#define SGEMM_DEFAULT_P 128
+#define SGEMM_DEFAULT_P 512
#define DGEMM_DEFAULT_P 256
#define CGEMM_DEFAULT_P 256
#define ZGEMM_DEFAULT_P 128
-#define SGEMM_DEFAULT_Q 240
-#define DGEMM_DEFAULT_Q 1024
-#define CGEMM_DEFAULT_Q 1024
+#define SGEMM_DEFAULT_Q 1024
+#define DGEMM_DEFAULT_Q 512
+#define CGEMM_DEFAULT_Q 512
#define ZGEMM_DEFAULT_Q 512
-#define SGEMM_DEFAULT_R 12288
+#define SGEMM_DEFAULT_R 4096
#define DGEMM_DEFAULT_R 4096
#define CGEMM_DEFAULT_R 4096
#define ZGEMM_DEFAULT_R 2048