26 #define match(b1, b2) (((b1)+(b2)) == 3 ? 1 : 0) 27 #define max_score(s1, s2) ((s1 >= s2) ? s1 : s2) 38 for (i=0; i <n; i++) {
60 for (i = 0; i < n; i++) {
61 for (j = i; j < n; j++) {
86 for (i =
_PB_N-1; i >= 0; i--) {
87 for (j=i+1; j<
_PB_N; j++) {
94 if (j-1>=0 && i+1<_PB_N) {
102 for (k=i+1; k<j; k++) {
112 int main(
int argc,
char** argv)
#define POLYBENCH_ARRAY(x)
#define POLYBENCH_DUMP_BEGIN(s)
char base
This version is stamped on May 10, 2016.
__attribute__((noinline))
Convert the given fixedpt number to a decimal string.
#define POLYBENCH_FREE_ARRAY(x)
#define POLYBENCH_2D(var, dim1, dim2, ddim1, ddim2)
int main(int argc, char **argv)
static void print_array(int n, DATA_TYPE POLYBENCH_2D(table, N, N, n, n))
static const uint32_t k[]
static void init_array(int n, base POLYBENCH_1D(seq, N, n), DATA_TYPE POLYBENCH_2D(table, N, N, n, n))
#define POLYBENCH_DUMP_START
#define POLYBENCH_2D_ARRAY_DECL(var, type, dim1, dim2, ddim1, ddim2)
#define DATA_PRINTF_MODIFIER
#define polybench_prevent_dce(func)
#define POLYBENCH_DUMP_TARGET
#define POLYBENCH_DUMP_END(s)
#define POLYBENCH_1D(var, dim1, ddim1)
#define max_score(s1, s2)
#define POLYBENCH_DUMP_FINISH
#define POLYBENCH_1D_ARRAY_DECL(var, type, dim1, ddim1)
#define polybench_stop_instruments
#define polybench_print_instruments
#define polybench_start_instruments