#define GEN2__RI2__8PPN {		\
	{		\
	8,		\
	21,		\
	{		\
	{1, &MPIR_Gather_MV2_Direct},		\
	{2, &MPIR_Gather_MV2_Direct},		\
	{4, &MPIR_Gather_MV2_Direct},		\
	{8, &MPIR_Gather_MV2_Direct},		\
	{16, &MPIR_Gather_MV2_Direct},		\
	{32, &MPIR_Gather_MV2_Direct},		\
	{64, &MPIR_Gather_MV2_Direct},		\
	{128, &MPIR_Gather_MV2_Direct},		\
	{256, &MPIR_Gather_MV2_Direct},		\
	{512, &MPIR_Gather_MV2_Direct},		\
	{1024, &MPIR_Gather_MV2_Direct},		\
	{2048, &MPIR_Gather_MV2_Direct},		\
	{4096, &MPIR_Gather_MV2_Direct},		\
	{8192, &MPIR_Gather_MV2_Direct},		\
	{16384, &MPIR_Gather_MV2_Direct},		\
	{32768, &MPIR_Gather_MV2_Direct},		\
	{65536, &MPIR_Gather_MV2_Direct},		\
	{131072, &MPIR_Gather_MV2_Direct},		\
	{262144, &MPIR_Gather_MV2_Direct},		\
	{524288, &MPIR_Gather_intra},		\
	{1048576, &MPIR_Gather_MV2_Direct}		\
	},		\
	21,		\
	{		\
	{1, &MPIR_Gather_MV2_Direct},		\
	{2, &MPIR_Gather_MV2_Direct},		\
	{4, &MPIR_Gather_MV2_Direct},		\
	{8, &MPIR_Gather_MV2_Direct},		\
	{16, &MPIR_Gather_MV2_Direct},		\
	{32, &MPIR_Gather_MV2_Direct},		\
	{64, &MPIR_Gather_MV2_Direct},		\
	{128, &MPIR_Gather_MV2_Direct},		\
	{256, &MPIR_Gather_MV2_Direct},		\
	{512, &MPIR_Gather_MV2_Direct},		\
	{1024, &MPIR_Gather_MV2_Direct},		\
	{2048, &MPIR_Gather_MV2_Direct},		\
	{4096, &MPIR_Gather_MV2_Direct},		\
	{8192, &MPIR_Gather_MV2_Direct},		\
	{16384, &MPIR_Gather_MV2_Direct},		\
	{32768, &MPIR_Gather_MV2_Direct},		\
	{65536, &MPIR_Gather_MV2_Direct},		\
	{131072, &MPIR_Gather_MV2_Direct},		\
	{262144, &MPIR_Gather_MV2_Direct},		\
	{524288, &MPIR_Gather_MV2_Direct},		\
	{1048576, &MPIR_Gather_MV2_Direct}		\
	}		\
	},		 \
	{		\
	16,		\
	21,		\
	{		\
	{1, &MPIR_Gather_MV2_Direct},		\
	{2, &MPIR_Gather_MV2_Direct},		\
	{4, &MPIR_Gather_MV2_Direct},		\
	{8, &MPIR_Gather_MV2_two_level_Direct},		\
	{16, &MPIR_Gather_MV2_Direct},		\
	{32, &MPIR_Gather_MV2_Direct},		\
	{64, &MPIR_Gather_MV2_Direct},		\
	{128, &MPIR_Gather_MV2_Direct},		\
	{256, &MPIR_Gather_MV2_Direct},		\
	{512, &MPIR_Gather_MV2_Direct},		\
	{1024, &MPIR_Gather_MV2_Direct},		\
	{2048, &MPIR_Gather_MV2_Direct},		\
	{4096, &MPIR_Gather_MV2_Direct},		\
	{8192, &MPIR_Gather_MV2_Direct},		\
	{16384, &MPIR_Gather_MV2_two_level_Direct},		\
	{32768, &MPIR_Gather_MV2_two_level_Direct},		\
	{65536, &MPIR_Gather_MV2_two_level_Direct},		\
	{131072, &MPIR_Gather_MV2_two_level_Direct},		\
	{262144, &MPIR_Gather_MV2_Direct},		\
	{524288, &MPIR_Gather_MV2_Direct},		\
	{1048576, &MPIR_Gather_MV2_Direct}		\
	},		\
	21,		\
	{		\
	{1, &MPIR_Gather_MV2_Direct},		\
	{2, &MPIR_Gather_MV2_Direct},		\
	{4, &MPIR_Gather_MV2_Direct},		\
	{8, &MPIR_Gather_MV2_Direct},		\
	{16, &MPIR_Gather_MV2_Direct},		\
	{32, &MPIR_Gather_MV2_Direct},		\
	{64, &MPIR_Gather_MV2_Direct},		\
	{128, &MPIR_Gather_MV2_Direct},		\
	{256, &MPIR_Gather_MV2_Direct},		\
	{512, &MPIR_Gather_MV2_Direct},		\
	{1024, &MPIR_Gather_MV2_Direct},		\
	{2048, &MPIR_Gather_MV2_Direct},		\
	{4096, &MPIR_Gather_MV2_Direct},		\
	{8192, &MPIR_Gather_MV2_Direct},		\
	{16384, &MPIR_Gather_MV2_Direct},		\
	{32768, &MPIR_Gather_MV2_Direct},		\
	{65536, &MPIR_Gather_MV2_Direct},		\
	{131072, &MPIR_Gather_MV2_Direct},		\
	{262144, &MPIR_Gather_MV2_Direct},		\
	{524288, &MPIR_Gather_MV2_Direct},		\
	{1048576, &MPIR_Gather_MV2_Direct}		\
	}		\
	},		 \
	{		\
	32,		\
	21,		\
	{		\
	{1, &MPIR_Gather_MV2_two_level_Direct},		\
	{2, &MPIR_Gather_MV2_two_level_Direct},		\
	{4, &MPIR_Gather_MV2_two_level_Direct},		\
	{8, &MPIR_Gather_MV2_two_level_Direct},		\
	{16, &MPIR_Gather_MV2_two_level_Direct},		\
	{32, &MPIR_Gather_MV2_two_level_Direct},		\
	{64, &MPIR_Gather_MV2_Direct},		\
	{128, &MPIR_Gather_MV2_Direct},		\
	{256, &MPIR_Gather_MV2_Direct},		\
	{512, &MPIR_Gather_MV2_Direct},		\
	{1024, &MPIR_Gather_MV2_Direct},		\
	{2048, &MPIR_Gather_MV2_Direct},		\
	{4096, &MPIR_Gather_MV2_Direct},		\
	{8192, &MPIR_Gather_MV2_Direct},		\
	{16384, &MPIR_Gather_MV2_two_level_Direct},		\
	{32768, &MPIR_Gather_MV2_two_level_Direct},		\
	{65536, &MPIR_Gather_MV2_two_level_Direct},		\
	{131072, &MPIR_Gather_MV2_two_level_Direct},		\
	{262144, &MPIR_Gather_MV2_two_level_Direct},		\
	{524288, &MPIR_Gather_MV2_two_level_Direct},		\
	{1048576, &MPIR_Gather_MV2_two_level_Direct}		\
	},		\
	21,		\
	{		\
	{1, &MPIR_Gather_MV2_Direct},		\
	{2, &MPIR_Gather_MV2_Direct},		\
	{4, &MPIR_Gather_MV2_Direct},		\
	{8, &MPIR_Gather_MV2_Direct},		\
	{16, &MPIR_Gather_MV2_Direct},		\
	{32, &MPIR_Gather_MV2_Direct},		\
	{64, &MPIR_Gather_MV2_Direct},		\
	{128, &MPIR_Gather_MV2_Direct},		\
	{256, &MPIR_Gather_MV2_Direct},		\
	{512, &MPIR_Gather_MV2_Direct},		\
	{1024, &MPIR_Gather_MV2_Direct},		\
	{2048, &MPIR_Gather_MV2_Direct},		\
	{4096, &MPIR_Gather_MV2_Direct},		\
	{8192, &MPIR_Gather_MV2_Direct},		\
	{16384, &MPIR_Gather_MV2_Direct},		\
	{32768, &MPIR_Gather_MV2_Direct},		\
	{65536, &MPIR_Gather_MV2_Direct},		\
	{131072, &MPIR_Gather_MV2_Direct},		\
	{262144, &MPIR_Gather_MV2_Direct},		\
	{524288, &MPIR_Gather_intra},		\
	{1048576, &MPIR_Gather_intra}		\
	}		\
	},		 \
	{		\
	64,		\
	21,		\
	{		\
	{1, &MPIR_Gather_MV2_two_level_Direct},		\
	{2, &MPIR_Gather_MV2_two_level_Direct},		\
	{4, &MPIR_Gather_MV2_two_level_Direct},		\
	{8, &MPIR_Gather_MV2_two_level_Direct},		\
	{16, &MPIR_Gather_MV2_two_level_Direct},		\
	{32, &MPIR_Gather_MV2_two_level_Direct},		\
	{64, &MPIR_Gather_MV2_two_level_Direct},		\
	{128, &MPIR_Gather_MV2_two_level_Direct},		\
	{256, &MPIR_Gather_MV2_two_level_Direct},		\
	{512, &MPIR_Gather_MV2_two_level_Direct},		\
	{1024, &MPIR_Gather_MV2_two_level_Direct},		\
	{2048, &MPIR_Gather_MV2_Direct},		\
	{4096, &MPIR_Gather_MV2_Direct},		\
	{8192, &MPIR_Gather_MV2_Direct},		\
	{16384, &MPIR_Gather_MV2_two_level_Direct},		\
	{32768, &MPIR_Gather_MV2_two_level_Direct},		\
	{65536, &MPIR_Gather_MV2_two_level_Direct},		\
	{131072, &MPIR_Gather_MV2_two_level_Direct},		\
	{262144, &MPIR_Gather_MV2_two_level_Direct},		\
	{524288, &MPIR_Gather_MV2_two_level_Direct},		\
	{1048576, &MPIR_Gather_MV2_two_level_Direct}		\
	},		\
	21,		\
	{		\
	{1, &MPIR_Gather_MV2_Direct},		\
	{2, &MPIR_Gather_MV2_Direct},		\
	{4, &MPIR_Gather_MV2_Direct},		\
	{8, &MPIR_Gather_MV2_Direct},		\
	{16, &MPIR_Gather_MV2_Direct},		\
	{32, &MPIR_Gather_MV2_Direct},		\
	{64, &MPIR_Gather_MV2_Direct},		\
	{128, &MPIR_Gather_MV2_Direct},		\
	{256, &MPIR_Gather_MV2_Direct},		\
	{512, &MPIR_Gather_MV2_Direct},		\
	{1024, &MPIR_Gather_MV2_Direct},		\
	{2048, &MPIR_Gather_MV2_Direct},		\
	{4096, &MPIR_Gather_MV2_Direct},		\
	{8192, &MPIR_Gather_MV2_Direct},		\
	{16384, &MPIR_Gather_MV2_Direct},		\
	{32768, &MPIR_Gather_MV2_Direct},		\
	{65536, &MPIR_Gather_MV2_Direct},		\
	{131072, &MPIR_Gather_MV2_Direct},		\
	{262144, &MPIR_Gather_MV2_Direct},		\
	{524288, &MPIR_Gather_intra},		\
	{1048576, &MPIR_Gather_intra}		\
	}		\
	},		 \
    {       \
    128,        \
    21,     \
    {       \
    {1, &MPIR_Gather_MV2_two_level_Direct},     \
    {2, &MPIR_Gather_MV2_two_level_Direct},     \
    {4, &MPIR_Gather_MV2_two_level_Direct},     \
    {8, &MPIR_Gather_MV2_two_level_Direct},     \
    {16, &MPIR_Gather_MV2_two_level_Direct},        \
    {32, &MPIR_Gather_MV2_two_level_Direct},        \
    {64, &MPIR_Gather_MV2_two_level_Direct},        \
    {128, &MPIR_Gather_MV2_two_level_Direct},       \
    {256, &MPIR_Gather_MV2_two_level_Direct},       \
    {512, &MPIR_Gather_MV2_two_level_Direct},       \
    {1024, &MPIR_Gather_MV2_two_level_Direct},      \
    {2048, &MPIR_Gather_MV2_Direct},        \
    {4096, &MPIR_Gather_MV2_Direct},        \
    {8192, &MPIR_Gather_MV2_Direct},        \
    {16384, &MPIR_Gather_intra},        \
    {32768, &MPIR_Gather_MV2_two_level_Direct},     \
    {65536, &MPIR_Gather_MV2_two_level_Direct},     \
    {131072, &MPIR_Gather_MV2_two_level_Direct},        \
    {262144, &MPIR_Gather_MV2_two_level_Direct},        \
    {524288, &MPIR_Gather_MV2_two_level_Direct},        \
    {1048576, &MPIR_Gather_MV2_two_level_Direct}        \
    },      \
    21,     \
    {       \
    {1, &MPIR_Gather_MV2_Direct},       \
    {2, &MPIR_Gather_MV2_Direct},       \
    {4, &MPIR_Gather_MV2_Direct},       \
    {8, &MPIR_Gather_MV2_Direct},       \
    {16, &MPIR_Gather_MV2_Direct},      \
    {32, &MPIR_Gather_MV2_Direct},      \
    {64, &MPIR_Gather_MV2_Direct},      \
    {128, &MPIR_Gather_MV2_Direct},     \
    {256, &MPIR_Gather_MV2_Direct},     \
    {512, &MPIR_Gather_MV2_Direct},     \
    {1024, &MPIR_Gather_MV2_Direct},        \
    {2048, &MPIR_Gather_MV2_Direct},        \
    {4096, &MPIR_Gather_MV2_Direct},        \
    {8192, &MPIR_Gather_MV2_Direct},        \
    {16384, &MPIR_Gather_MV2_Direct},       \
    {32768, &MPIR_Gather_MV2_Direct},       \
    {65536, &MPIR_Gather_MV2_Direct},       \
    {131072, &MPIR_Gather_MV2_Direct},      \
    {262144, &MPIR_Gather_MV2_Direct},      \
    {524288, &MPIR_Gather_intra},       \
    {1048576, &MPIR_Gather_intra}       \
    }       \
    }        \
}
