Commit 5dfeff9e authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cgribexlib update

parent 2749a4cc
/* Automatically generated by m214003 at 2012-04-02, do not edit */
/* Automatically generated by m214003 at 2012-04-03, do not edit */
/* CGRIBEXLIB_VERSION="1.5.2" */
......@@ -88,7 +88,7 @@
#endif
#if defined (CRAY) || defined (SX) || defined (__uxpch__) || defined (__xlC__)
#if defined (CRAY) || defined (SX) || defined (__uxpch__)
# define VECTORCODE
#endif
......@@ -2830,8 +2830,8 @@ void gribPrintSec4Wave(int *isec4)
}
}
#undef _GET_X86_COUNTER
#undef _GET_IBM_COUNTER
//#undef _GET_X86_COUNTER
//#undef _GET_IBM_COUNTER
//#undef _ARCH_PWR6
//#undef __AVX__
//#undef __SSE2__
......@@ -3784,7 +3784,6 @@ void encode_double_array(int numBits, long packStart, long datasize,
long ofs = datasize - residual;
double dval[__UNROLL_DEPTH_2];
unsigned long ival[__UNROLL_DEPTH_2];
// unsigned short *sgrib = (unsigned short *) (lGrib + z);
// reducing FP operations to single FMA is slowing down ...
// double dconst;
......@@ -3795,7 +3794,7 @@ void encode_double_array(int numBits, long packStart, long datasize,
#ifdef _GET_IBM_COUNTER
hpmStart(2, "pack 16bit unrolled");
#endif
#pragma nounrollandfuse
//#pragma nounrollandfuse
for ( i = 0; i < datasize - residual; i += __UNROLL_DEPTH_2 )
{
for (j = 0; j < __UNROLL_DEPTH_2; j++)
......@@ -3805,8 +3804,6 @@ void encode_double_array(int numBits, long packStart, long datasize,
}
for (j = 0; j < __UNROLL_DEPTH_2; j++)
{
//*sgrib = (unsigned short) ival[j];
//sgrib++;
lGrib[z ] = ival[j] >> 8;
lGrib[z+1] = ival[j];
z += 2;
......@@ -3819,8 +3816,6 @@ void encode_double_array(int numBits, long packStart, long datasize,
}
for (j = 0; j < residual; j++)
{
//*sgrib = (unsigned short) ival[j];
//sgrib++;
lGrib[z ] = ival[j] >> 8;
lGrib[z+1] = ival[j];
z += 2;
......@@ -9551,7 +9546,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
return (gribLen);
}
static const char grb_libvers[] = "1.5.2" " of ""Apr 2 2012"" ""12:52:13";
static const char grb_libvers[] = "1.5.2" " of ""Apr 3 2012"" ""08:53:40";
const char *
cgribexLibraryVersion(void)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment