void video_orc_resample_h_muladdtaps_8 (gint32 * ORC_RESTRICT d1, int d1_stride,
const guint32 * ORC_RESTRICT s1, int s1_stride,
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
-void video_orc_resample_h_scaletaps_8 (guint8 * ORC_RESTRICT d1,
+void video_orc_resample_scaletaps_8 (guint8 * ORC_RESTRICT d1,
const gint32 * ORC_RESTRICT s1, int n);
void video_orc_resample_h_multaps_8_lq (gint32 * ORC_RESTRICT d1,
const guint32 * ORC_RESTRICT s1, const gint16 * ORC_RESTRICT s2, int n);
void video_orc_resample_h_muladdtaps_8_lq (gint32 * ORC_RESTRICT d1,
int d1_stride, const guint32 * ORC_RESTRICT s1, int s1_stride,
const gint16 * ORC_RESTRICT s2, int s2_stride, int n, int m);
-void video_orc_resample_h_scaletaps_8_lq (guint8 * ORC_RESTRICT d1,
+void video_orc_resample_scaletaps_8_lq (guint8 * ORC_RESTRICT d1,
const gint32 * ORC_RESTRICT s1, int n);
+void video_orc_resample_v_multaps_8 (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n);
+void video_orc_resample_v_muladdtaps_8 (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n);
+void video_orc_resample_v_multaps_8_lq (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n);
+void video_orc_resample_v_muladdtaps_8_lq (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n);
/* begin Orc C target preamble */
var42 = var41.i;
/* 3: splatbl */
var43.i =
- ((((orc_uint32) var42) & 0xff) << 24) | ((((orc_uint32) var42) & 0xff)
- << 16) | ((((orc_uint32) var42) & 0xff) << 8) | (((orc_uint32) var42) &
- 0xff);
+ ((var42 & 0xff) << 24) | ((var42 & 0xff) << 16) | ((var42 & 0xff) << 8)
+ | (var42 & 0xff);
/* 4: convubw */
var44.x4[0] = (orc_uint8) var43.x4[0];
var44.x4[1] = (orc_uint8) var43.x4[1];
var42 = var41.i;
/* 3: splatbl */
var43.i =
- ((((orc_uint32) var42) & 0xff) << 24) | ((((orc_uint32) var42) & 0xff)
- << 16) | ((((orc_uint32) var42) & 0xff) << 8) | (((orc_uint32) var42) &
- 0xff);
+ ((var42 & 0xff) << 24) | ((var42 & 0xff) << 16) | ((var42 & 0xff) << 8)
+ | (var42 & 0xff);
/* 4: convubw */
var44.x4[0] = (orc_uint8) var43.x4[0];
var44.x4[1] = (orc_uint8) var43.x4[1];
static const orc_uint8 bc[] = {
1, 9, 22, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 98, 108, 101,
110, 100, 95, 108, 105, 116, 116, 108, 101, 11, 4, 4, 12, 4, 4, 14,
- 4, 255, 0, 0, 0, 14, 2, 8, 0, 0, 0, 20, 4, 20, 2, 20,
+ 4, 255, 0, 0, 0, 14, 4, 8, 0, 0, 0, 20, 4, 20, 2, 20,
1, 20, 4, 20, 8, 20, 8, 20, 8, 113, 32, 4, 163, 33, 32, 157,
34, 33, 152, 35, 34, 21, 2, 150, 38, 35, 21, 2, 95, 38, 38, 17,
21, 2, 150, 37, 32, 113, 32, 0, 21, 2, 150, 36, 32, 21, 2, 98,
orc_program_add_destination (p, 4, "d1");
orc_program_add_source (p, 4, "s1");
orc_program_add_constant (p, 4, 0x000000ff, "c1");
- orc_program_add_constant (p, 2, 0x00000008, "c2");
+ orc_program_add_constant (p, 4, 0x00000008, "c2");
orc_program_add_temporary (p, 4, "t1");
orc_program_add_temporary (p, 2, "t2");
orc_program_add_temporary (p, 1, "t3");
var44 = var43.i;
/* 4: splatbl */
var45.i =
- ((((orc_uint32) var44) & 0xff) << 24) | ((((orc_uint32) var44) & 0xff)
- << 16) | ((((orc_uint32) var44) & 0xff) << 8) | (((orc_uint32) var44) &
- 0xff);
+ ((var44 & 0xff) << 24) | ((var44 & 0xff) << 16) | ((var44 & 0xff) << 8)
+ | (var44 & 0xff);
/* 5: convubw */
var46.x4[0] = (orc_uint8) var45.x4[0];
var46.x4[1] = (orc_uint8) var45.x4[1];
var44 = var43.i;
/* 4: splatbl */
var45.i =
- ((((orc_uint32) var44) & 0xff) << 24) | ((((orc_uint32) var44) & 0xff)
- << 16) | ((((orc_uint32) var44) & 0xff) << 8) | (((orc_uint32) var44) &
- 0xff);
+ ((var44 & 0xff) << 24) | ((var44 & 0xff) << 16) | ((var44 & 0xff) << 8)
+ | (var44 & 0xff);
/* 5: convubw */
var46.x4[0] = (orc_uint8) var45.x4[0];
var46.x4[1] = (orc_uint8) var45.x4[1];
static const orc_uint8 bc[] = {
1, 9, 19, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 98, 108, 101,
110, 100, 95, 98, 105, 103, 11, 4, 4, 12, 4, 4, 14, 4, 0, 0,
- 0, 255, 14, 4, 24, 0, 0, 0, 14, 2, 8, 0, 0, 0, 20, 4,
+ 0, 255, 14, 4, 24, 0, 0, 0, 14, 4, 8, 0, 0, 0, 20, 4,
20, 4, 20, 2, 20, 1, 20, 4, 20, 8, 20, 8, 20, 8, 113, 32,
4, 126, 33, 32, 17, 163, 34, 33, 157, 35, 34, 152, 36, 35, 21, 2,
150, 39, 36, 21, 2, 95, 39, 39, 18, 21, 2, 150, 38, 32, 113, 32,
orc_program_add_source (p, 4, "s1");
orc_program_add_constant (p, 4, 0xff000000, "c1");
orc_program_add_constant (p, 4, 0x00000018, "c2");
- orc_program_add_constant (p, 2, 0x00000008, "c3");
+ orc_program_add_constant (p, 4, 0x00000008, "c3");
orc_program_add_temporary (p, 4, "t1");
orc_program_add_temporary (p, 4, "t2");
orc_program_add_temporary (p, 2, "t3");
static const orc_uint8 bc[] = {
1, 9, 25, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 109, 101, 114,
103, 101, 95, 108, 105, 110, 101, 97, 114, 95, 117, 56, 11, 1, 1, 12,
- 1, 1, 12, 1, 1, 14, 2, 128, 0, 0, 0, 16, 1, 20, 2, 20,
+ 1, 1, 12, 1, 1, 14, 4, 128, 0, 0, 0, 16, 1, 20, 2, 20,
2, 20, 1, 20, 1, 43, 34, 4, 150, 32, 4, 150, 33, 5, 98, 33,
33, 32, 89, 33, 33, 24, 70, 33, 33, 16, 158, 35, 33, 33, 0, 35,
34, 2, 0,
orc_program_add_destination (p, 1, "d1");
orc_program_add_source (p, 1, "s1");
orc_program_add_source (p, 1, "s2");
- orc_program_add_constant (p, 2, 0x00000080, "c1");
+ orc_program_add_constant (p, 4, 0x00000080, "c1");
orc_program_add_parameter (p, 1, "p1");
orc_program_add_temporary (p, 2, "t1");
orc_program_add_temporary (p, 2, "t2");
#endif
orc_int8 var37;
orc_union32 var38;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_int8 var39;
+#else
orc_int8 var39;
- orc_union32 var40;
- orc_int8 var41;
+#endif
+ orc_int8 var40;
+ orc_union32 var41;
orc_int8 var42;
- orc_union16 var43;
+ orc_int8 var43;
orc_union16 var44;
orc_union16 var45;
+ orc_union16 var46;
ptr0 = (orc_union32 *) d1;
ptr1 = (orc_union32 *) d2;
/* 3: loadpb */
var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ /* 8: loadpb */
+ var39 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadupdb */
- var41 = ptr6[i >> 1];
+ var42 = ptr6[i >> 1];
/* 1: loadupdb */
- var42 = ptr7[i >> 1];
+ var43 = ptr7[i >> 1];
/* 2: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var41;
- _dest.x2[1] = var42;
- var43.i = _dest.i;
+ _dest.x2[0] = var42;
+ _dest.x2[1] = var43;
+ var44.i = _dest.i;
}
/* 4: loadb */
var37 = ptr4[i];
orc_union16 _dest;
_dest.x2[0] = var36;
_dest.x2[1] = var37;
- var44.i = _dest.i;
+ var45.i = _dest.i;
}
/* 6: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var44.i;
- _dest.x2[1] = var43.i;
+ _dest.x2[0] = var45.i;
+ _dest.x2[1] = var44.i;
var38.i = _dest.i;
}
/* 7: storel */
ptr0[i] = var38;
- /* 8: loadb */
- var39 = ptr5[i];
- /* 9: mergebw */
+ /* 9: loadb */
+ var40 = ptr5[i];
+ /* 10: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var36;
- _dest.x2[1] = var39;
- var45.i = _dest.i;
+ _dest.x2[0] = var39;
+ _dest.x2[1] = var40;
+ var46.i = _dest.i;
}
- /* 10: mergewl */
+ /* 11: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var45.i;
- _dest.x2[1] = var43.i;
- var40.i = _dest.i;
+ _dest.x2[0] = var46.i;
+ _dest.x2[1] = var44.i;
+ var41.i = _dest.i;
}
- /* 11: storel */
- ptr1[i] = var40;
+ /* 12: storel */
+ ptr1[i] = var41;
}
}
#endif
orc_int8 var37;
orc_union32 var38;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_int8 var39;
+#else
orc_int8 var39;
- orc_union32 var40;
- orc_int8 var41;
+#endif
+ orc_int8 var40;
+ orc_union32 var41;
orc_int8 var42;
- orc_union16 var43;
+ orc_int8 var43;
orc_union16 var44;
orc_union16 var45;
+ orc_union16 var46;
ptr0 = (orc_union32 *) ex->arrays[0];
ptr1 = (orc_union32 *) ex->arrays[1];
/* 3: loadpb */
var36 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ /* 8: loadpb */
+ var39 = (int) 0x000000ff; /* 255 or 1.25987e-321f */
for (i = 0; i < n; i++) {
/* 0: loadupdb */
- var41 = ptr6[i >> 1];
+ var42 = ptr6[i >> 1];
/* 1: loadupdb */
- var42 = ptr7[i >> 1];
+ var43 = ptr7[i >> 1];
/* 2: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var41;
- _dest.x2[1] = var42;
- var43.i = _dest.i;
+ _dest.x2[0] = var42;
+ _dest.x2[1] = var43;
+ var44.i = _dest.i;
}
/* 4: loadb */
var37 = ptr4[i];
orc_union16 _dest;
_dest.x2[0] = var36;
_dest.x2[1] = var37;
- var44.i = _dest.i;
+ var45.i = _dest.i;
}
/* 6: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var44.i;
- _dest.x2[1] = var43.i;
+ _dest.x2[0] = var45.i;
+ _dest.x2[1] = var44.i;
var38.i = _dest.i;
}
/* 7: storel */
ptr0[i] = var38;
- /* 8: loadb */
- var39 = ptr5[i];
- /* 9: mergebw */
+ /* 9: loadb */
+ var40 = ptr5[i];
+ /* 10: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var36;
- _dest.x2[1] = var39;
- var45.i = _dest.i;
+ _dest.x2[0] = var39;
+ _dest.x2[1] = var40;
+ var46.i = _dest.i;
}
- /* 10: mergewl */
+ /* 11: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var45.i;
- _dest.x2[1] = var43.i;
- var40.i = _dest.i;
+ _dest.x2[0] = var46.i;
+ _dest.x2[1] = var44.i;
+ var41.i = _dest.i;
}
- /* 11: storel */
- ptr1[i] = var40;
+ /* 12: storel */
+ ptr1[i] = var41;
}
}
orc_union16 var50;
orc_union16 var51;
orc_union16 var52;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var53;
+#else
orc_union32 var53;
+#endif
orc_union32 var54;
- orc_union16 var55;
+ orc_union32 var55;
orc_union16 var56;
- orc_int8 var57;
+ orc_union16 var57;
orc_int8 var58;
orc_int8 var59;
orc_int8 var60;
- orc_union16 var61;
+ orc_int8 var61;
orc_union16 var62;
orc_union16 var63;
orc_union16 var64;
orc_union16 var65;
orc_union16 var66;
- orc_int8 var67;
- orc_union16 var68;
+ orc_union16 var67;
+ orc_int8 var68;
orc_union16 var69;
orc_union16 var70;
- orc_int8 var71;
- orc_union16 var72;
+ orc_union16 var71;
+ orc_int8 var72;
orc_union16 var73;
orc_union16 var74;
orc_union16 var75;
- orc_int8 var76;
- orc_union16 var77;
- orc_union32 var78;
+ orc_union16 var76;
+ orc_int8 var77;
+ orc_union16 var78;
+ orc_union32 var79;
for (j = 0; j < m; j++) {
ptr0 = ORC_PTR_OFFSET (d1, d1_stride * j);
var51.i = p4;
/* 23: loadpw */
var52.i = p5;
+ /* 29: loadpb */
+ var53.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var46 = ptr4[i];
/* 2: subb */
- var54.x4[0] = var46.x4[0] - var47.x4[0];
- var54.x4[1] = var46.x4[1] - var47.x4[1];
- var54.x4[2] = var46.x4[2] - var47.x4[2];
- var54.x4[3] = var46.x4[3] - var47.x4[3];
+ var55.x4[0] = var46.x4[0] - var47.x4[0];
+ var55.x4[1] = var46.x4[1] - var47.x4[1];
+ var55.x4[2] = var46.x4[2] - var47.x4[2];
+ var55.x4[3] = var46.x4[3] - var47.x4[3];
/* 3: splitlw */
{
orc_union32 _src;
- _src.i = var54.i;
- var55.i = _src.x2[1];
- var56.i = _src.x2[0];
+ _src.i = var55.i;
+ var56.i = _src.x2[1];
+ var57.i = _src.x2[0];
}
/* 4: splitwb */
{
orc_union16 _src;
- _src.i = var56.i;
- var57 = _src.x2[1];
- var58 = _src.x2[0];
+ _src.i = var57.i;
+ var58 = _src.x2[1];
+ var59 = _src.x2[0];
}
/* 5: splitwb */
{
orc_union16 _src;
- _src.i = var55.i;
- var59 = _src.x2[1];
- var60 = _src.x2[0];
+ _src.i = var56.i;
+ var60 = _src.x2[1];
+ var61 = _src.x2[0];
}
/* 6: splatbw */
- var61.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ var62.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
/* 7: splatbw */
- var62.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
+ var63.i = ((var61 & 0xff) << 8) | (var61 & 0xff);
/* 8: splatbw */
- var63.i = ((var59 & 0xff) << 8) | (var59 & 0xff);
+ var64.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 10: mulhsw */
- var64.i = (var61.i * var48.i) >> 16;
+ var65.i = (var62.i * var48.i) >> 16;
/* 12: mulhsw */
- var65.i = (var63.i * var49.i) >> 16;
+ var66.i = (var64.i * var49.i) >> 16;
/* 13: addw */
- var66.i = var64.i + var65.i;
+ var67.i = var65.i + var66.i;
/* 14: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
+ var68 = ORC_CLAMP_SB (var67.i);
/* 15: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var58;
- _dest.x2[1] = var67;
- var68.i = _dest.i;
+ _dest.x2[0] = var59;
+ _dest.x2[1] = var68;
+ var69.i = _dest.i;
}
/* 17: mulhsw */
- var69.i = (var62.i * var50.i) >> 16;
+ var70.i = (var63.i * var50.i) >> 16;
/* 18: addw */
- var70.i = var64.i + var69.i;
+ var71.i = var65.i + var70.i;
/* 19: convssswb */
- var71 = ORC_CLAMP_SB (var70.i);
+ var72 = ORC_CLAMP_SB (var71.i);
/* 21: mulhsw */
- var72.i = (var62.i * var51.i) >> 16;
+ var73.i = (var63.i * var51.i) >> 16;
/* 22: addw */
- var73.i = var64.i + var72.i;
+ var74.i = var65.i + var73.i;
/* 24: mulhsw */
- var74.i = (var63.i * var52.i) >> 16;
+ var75.i = (var64.i * var52.i) >> 16;
/* 25: addw */
- var75.i = var73.i + var74.i;
+ var76.i = var74.i + var75.i;
/* 26: convssswb */
- var76 = ORC_CLAMP_SB (var75.i);
+ var77 = ORC_CLAMP_SB (var76.i);
/* 27: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var76;
- _dest.x2[1] = var71;
- var77.i = _dest.i;
+ _dest.x2[0] = var77;
+ _dest.x2[1] = var72;
+ var78.i = _dest.i;
}
/* 28: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var68.i;
- _dest.x2[1] = var77.i;
- var78.i = _dest.i;
+ _dest.x2[0] = var69.i;
+ _dest.x2[1] = var78.i;
+ var79.i = _dest.i;
}
- /* 29: addb */
- var53.x4[0] = var78.x4[0] + var47.x4[0];
- var53.x4[1] = var78.x4[1] + var47.x4[1];
- var53.x4[2] = var78.x4[2] + var47.x4[2];
- var53.x4[3] = var78.x4[3] + var47.x4[3];
- /* 30: storel */
- ptr0[i] = var53;
+ /* 30: addb */
+ var54.x4[0] = var79.x4[0] + var53.x4[0];
+ var54.x4[1] = var79.x4[1] + var53.x4[1];
+ var54.x4[2] = var79.x4[2] + var53.x4[2];
+ var54.x4[3] = var79.x4[3] + var53.x4[3];
+ /* 31: storel */
+ ptr0[i] = var54;
}
}
orc_union16 var50;
orc_union16 var51;
orc_union16 var52;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var53;
+#else
orc_union32 var53;
+#endif
orc_union32 var54;
- orc_union16 var55;
+ orc_union32 var55;
orc_union16 var56;
- orc_int8 var57;
+ orc_union16 var57;
orc_int8 var58;
orc_int8 var59;
orc_int8 var60;
- orc_union16 var61;
+ orc_int8 var61;
orc_union16 var62;
orc_union16 var63;
orc_union16 var64;
orc_union16 var65;
orc_union16 var66;
- orc_int8 var67;
- orc_union16 var68;
+ orc_union16 var67;
+ orc_int8 var68;
orc_union16 var69;
orc_union16 var70;
- orc_int8 var71;
- orc_union16 var72;
+ orc_union16 var71;
+ orc_int8 var72;
orc_union16 var73;
orc_union16 var74;
orc_union16 var75;
- orc_int8 var76;
- orc_union16 var77;
- orc_union32 var78;
+ orc_union16 var76;
+ orc_int8 var77;
+ orc_union16 var78;
+ orc_union32 var79;
for (j = 0; j < m; j++) {
ptr0 = ORC_PTR_OFFSET (ex->arrays[0], ex->params[0] * j);
var51.i = ex->params[27];
/* 23: loadpw */
var52.i = ex->params[28];
+ /* 29: loadpb */
+ var53.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var46 = ptr4[i];
/* 2: subb */
- var54.x4[0] = var46.x4[0] - var47.x4[0];
- var54.x4[1] = var46.x4[1] - var47.x4[1];
- var54.x4[2] = var46.x4[2] - var47.x4[2];
- var54.x4[3] = var46.x4[3] - var47.x4[3];
+ var55.x4[0] = var46.x4[0] - var47.x4[0];
+ var55.x4[1] = var46.x4[1] - var47.x4[1];
+ var55.x4[2] = var46.x4[2] - var47.x4[2];
+ var55.x4[3] = var46.x4[3] - var47.x4[3];
/* 3: splitlw */
{
orc_union32 _src;
- _src.i = var54.i;
- var55.i = _src.x2[1];
- var56.i = _src.x2[0];
+ _src.i = var55.i;
+ var56.i = _src.x2[1];
+ var57.i = _src.x2[0];
}
/* 4: splitwb */
{
orc_union16 _src;
- _src.i = var56.i;
- var57 = _src.x2[1];
- var58 = _src.x2[0];
+ _src.i = var57.i;
+ var58 = _src.x2[1];
+ var59 = _src.x2[0];
}
/* 5: splitwb */
{
orc_union16 _src;
- _src.i = var55.i;
- var59 = _src.x2[1];
- var60 = _src.x2[0];
+ _src.i = var56.i;
+ var60 = _src.x2[1];
+ var61 = _src.x2[0];
}
/* 6: splatbw */
- var61.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ var62.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
/* 7: splatbw */
- var62.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
+ var63.i = ((var61 & 0xff) << 8) | (var61 & 0xff);
/* 8: splatbw */
- var63.i = ((var59 & 0xff) << 8) | (var59 & 0xff);
+ var64.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 10: mulhsw */
- var64.i = (var61.i * var48.i) >> 16;
+ var65.i = (var62.i * var48.i) >> 16;
/* 12: mulhsw */
- var65.i = (var63.i * var49.i) >> 16;
+ var66.i = (var64.i * var49.i) >> 16;
/* 13: addw */
- var66.i = var64.i + var65.i;
+ var67.i = var65.i + var66.i;
/* 14: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
+ var68 = ORC_CLAMP_SB (var67.i);
/* 15: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var58;
- _dest.x2[1] = var67;
- var68.i = _dest.i;
+ _dest.x2[0] = var59;
+ _dest.x2[1] = var68;
+ var69.i = _dest.i;
}
/* 17: mulhsw */
- var69.i = (var62.i * var50.i) >> 16;
+ var70.i = (var63.i * var50.i) >> 16;
/* 18: addw */
- var70.i = var64.i + var69.i;
+ var71.i = var65.i + var70.i;
/* 19: convssswb */
- var71 = ORC_CLAMP_SB (var70.i);
+ var72 = ORC_CLAMP_SB (var71.i);
/* 21: mulhsw */
- var72.i = (var62.i * var51.i) >> 16;
+ var73.i = (var63.i * var51.i) >> 16;
/* 22: addw */
- var73.i = var64.i + var72.i;
+ var74.i = var65.i + var73.i;
/* 24: mulhsw */
- var74.i = (var63.i * var52.i) >> 16;
+ var75.i = (var64.i * var52.i) >> 16;
/* 25: addw */
- var75.i = var73.i + var74.i;
+ var76.i = var74.i + var75.i;
/* 26: convssswb */
- var76 = ORC_CLAMP_SB (var75.i);
+ var77 = ORC_CLAMP_SB (var76.i);
/* 27: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var76;
- _dest.x2[1] = var71;
- var77.i = _dest.i;
+ _dest.x2[0] = var77;
+ _dest.x2[1] = var72;
+ var78.i = _dest.i;
}
/* 28: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var68.i;
- _dest.x2[1] = var77.i;
- var78.i = _dest.i;
+ _dest.x2[0] = var69.i;
+ _dest.x2[1] = var78.i;
+ var79.i = _dest.i;
}
- /* 29: addb */
- var53.x4[0] = var78.x4[0] + var47.x4[0];
- var53.x4[1] = var78.x4[1] + var47.x4[1];
- var53.x4[2] = var78.x4[2] + var47.x4[2];
- var53.x4[3] = var78.x4[3] + var47.x4[3];
- /* 30: storel */
- ptr0[i] = var53;
+ /* 30: addb */
+ var54.x4[0] = var79.x4[0] + var53.x4[0];
+ var54.x4[1] = var79.x4[1] + var53.x4[1];
+ var54.x4[2] = var79.x4[2] + var53.x4[2];
+ var54.x4[3] = var79.x4[3] + var53.x4[3];
+ /* 31: storel */
+ ptr0[i] = var54;
}
}
orc_union16 var50;
orc_union16 var51;
orc_union16 var52;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var53;
+#else
orc_union32 var53;
+#endif
orc_union32 var54;
- orc_union16 var55;
+ orc_union32 var55;
orc_union16 var56;
- orc_int8 var57;
+ orc_union16 var57;
orc_int8 var58;
orc_int8 var59;
orc_int8 var60;
- orc_union16 var61;
+ orc_int8 var61;
orc_union16 var62;
orc_union16 var63;
orc_union16 var64;
orc_union16 var65;
orc_union16 var66;
- orc_int8 var67;
- orc_union16 var68;
+ orc_union16 var67;
+ orc_int8 var68;
orc_union16 var69;
orc_union16 var70;
- orc_int8 var71;
- orc_union16 var72;
+ orc_union16 var71;
+ orc_int8 var72;
orc_union16 var73;
orc_union16 var74;
orc_union16 var75;
- orc_int8 var76;
- orc_union16 var77;
- orc_union32 var78;
+ orc_union16 var76;
+ orc_int8 var77;
+ orc_union16 var78;
+ orc_union32 var79;
for (j = 0; j < m; j++) {
ptr0 = ORC_PTR_OFFSET (d1, d1_stride * j);
var51.i = p4;
/* 23: loadpw */
var52.i = p5;
+ /* 29: loadpb */
+ var53.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var46 = ptr4[i];
/* 2: subb */
- var54.x4[0] = var46.x4[0] - var47.x4[0];
- var54.x4[1] = var46.x4[1] - var47.x4[1];
- var54.x4[2] = var46.x4[2] - var47.x4[2];
- var54.x4[3] = var46.x4[3] - var47.x4[3];
+ var55.x4[0] = var46.x4[0] - var47.x4[0];
+ var55.x4[1] = var46.x4[1] - var47.x4[1];
+ var55.x4[2] = var46.x4[2] - var47.x4[2];
+ var55.x4[3] = var46.x4[3] - var47.x4[3];
/* 3: splitlw */
{
orc_union32 _src;
- _src.i = var54.i;
- var55.i = _src.x2[1];
- var56.i = _src.x2[0];
+ _src.i = var55.i;
+ var56.i = _src.x2[1];
+ var57.i = _src.x2[0];
}
/* 4: splitwb */
{
orc_union16 _src;
- _src.i = var56.i;
- var57 = _src.x2[1];
- var58 = _src.x2[0];
+ _src.i = var57.i;
+ var58 = _src.x2[1];
+ var59 = _src.x2[0];
}
/* 5: splitwb */
{
orc_union16 _src;
- _src.i = var55.i;
- var59 = _src.x2[1];
- var60 = _src.x2[0];
+ _src.i = var56.i;
+ var60 = _src.x2[1];
+ var61 = _src.x2[0];
}
/* 6: splatbw */
- var61.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ var62.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
/* 7: splatbw */
- var62.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
+ var63.i = ((var61 & 0xff) << 8) | (var61 & 0xff);
/* 8: splatbw */
- var63.i = ((var59 & 0xff) << 8) | (var59 & 0xff);
+ var64.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 10: mulhsw */
- var64.i = (var61.i * var48.i) >> 16;
+ var65.i = (var62.i * var48.i) >> 16;
/* 12: mulhsw */
- var65.i = (var63.i * var49.i) >> 16;
+ var66.i = (var64.i * var49.i) >> 16;
/* 13: addw */
- var66.i = var64.i + var65.i;
+ var67.i = var65.i + var66.i;
/* 14: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
+ var68 = ORC_CLAMP_SB (var67.i);
/* 15: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var67;
- _dest.x2[1] = var58;
- var68.i = _dest.i;
+ _dest.x2[0] = var68;
+ _dest.x2[1] = var59;
+ var69.i = _dest.i;
}
/* 17: mulhsw */
- var69.i = (var62.i * var50.i) >> 16;
+ var70.i = (var63.i * var50.i) >> 16;
/* 18: addw */
- var70.i = var64.i + var69.i;
+ var71.i = var65.i + var70.i;
/* 19: convssswb */
- var71 = ORC_CLAMP_SB (var70.i);
+ var72 = ORC_CLAMP_SB (var71.i);
/* 21: mulhsw */
- var72.i = (var62.i * var51.i) >> 16;
+ var73.i = (var63.i * var51.i) >> 16;
/* 22: addw */
- var73.i = var64.i + var72.i;
+ var74.i = var65.i + var73.i;
/* 24: mulhsw */
- var74.i = (var63.i * var52.i) >> 16;
+ var75.i = (var64.i * var52.i) >> 16;
/* 25: addw */
- var75.i = var73.i + var74.i;
+ var76.i = var74.i + var75.i;
/* 26: convssswb */
- var76 = ORC_CLAMP_SB (var75.i);
+ var77 = ORC_CLAMP_SB (var76.i);
/* 27: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var71;
- _dest.x2[1] = var76;
- var77.i = _dest.i;
+ _dest.x2[0] = var72;
+ _dest.x2[1] = var77;
+ var78.i = _dest.i;
}
/* 28: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var77.i;
- _dest.x2[1] = var68.i;
- var78.i = _dest.i;
+ _dest.x2[0] = var78.i;
+ _dest.x2[1] = var69.i;
+ var79.i = _dest.i;
}
- /* 29: addb */
- var53.x4[0] = var78.x4[0] + var47.x4[0];
- var53.x4[1] = var78.x4[1] + var47.x4[1];
- var53.x4[2] = var78.x4[2] + var47.x4[2];
- var53.x4[3] = var78.x4[3] + var47.x4[3];
- /* 30: storel */
- ptr0[i] = var53;
+ /* 30: addb */
+ var54.x4[0] = var79.x4[0] + var53.x4[0];
+ var54.x4[1] = var79.x4[1] + var53.x4[1];
+ var54.x4[2] = var79.x4[2] + var53.x4[2];
+ var54.x4[3] = var79.x4[3] + var53.x4[3];
+ /* 31: storel */
+ ptr0[i] = var54;
}
}
orc_union16 var50;
orc_union16 var51;
orc_union16 var52;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var53;
+#else
orc_union32 var53;
+#endif
orc_union32 var54;
- orc_union16 var55;
+ orc_union32 var55;
orc_union16 var56;
- orc_int8 var57;
+ orc_union16 var57;
orc_int8 var58;
orc_int8 var59;
orc_int8 var60;
- orc_union16 var61;
+ orc_int8 var61;
orc_union16 var62;
orc_union16 var63;
orc_union16 var64;
orc_union16 var65;
orc_union16 var66;
- orc_int8 var67;
- orc_union16 var68;
+ orc_union16 var67;
+ orc_int8 var68;
orc_union16 var69;
orc_union16 var70;
- orc_int8 var71;
- orc_union16 var72;
+ orc_union16 var71;
+ orc_int8 var72;
orc_union16 var73;
orc_union16 var74;
orc_union16 var75;
- orc_int8 var76;
- orc_union16 var77;
- orc_union32 var78;
+ orc_union16 var76;
+ orc_int8 var77;
+ orc_union16 var78;
+ orc_union32 var79;
for (j = 0; j < m; j++) {
ptr0 = ORC_PTR_OFFSET (ex->arrays[0], ex->params[0] * j);
var51.i = ex->params[27];
/* 23: loadpw */
var52.i = ex->params[28];
+ /* 29: loadpb */
+ var53.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var46 = ptr4[i];
/* 2: subb */
- var54.x4[0] = var46.x4[0] - var47.x4[0];
- var54.x4[1] = var46.x4[1] - var47.x4[1];
- var54.x4[2] = var46.x4[2] - var47.x4[2];
- var54.x4[3] = var46.x4[3] - var47.x4[3];
+ var55.x4[0] = var46.x4[0] - var47.x4[0];
+ var55.x4[1] = var46.x4[1] - var47.x4[1];
+ var55.x4[2] = var46.x4[2] - var47.x4[2];
+ var55.x4[3] = var46.x4[3] - var47.x4[3];
/* 3: splitlw */
{
orc_union32 _src;
- _src.i = var54.i;
- var55.i = _src.x2[1];
- var56.i = _src.x2[0];
+ _src.i = var55.i;
+ var56.i = _src.x2[1];
+ var57.i = _src.x2[0];
}
/* 4: splitwb */
{
orc_union16 _src;
- _src.i = var56.i;
- var57 = _src.x2[1];
- var58 = _src.x2[0];
+ _src.i = var57.i;
+ var58 = _src.x2[1];
+ var59 = _src.x2[0];
}
/* 5: splitwb */
{
orc_union16 _src;
- _src.i = var55.i;
- var59 = _src.x2[1];
- var60 = _src.x2[0];
+ _src.i = var56.i;
+ var60 = _src.x2[1];
+ var61 = _src.x2[0];
}
/* 6: splatbw */
- var61.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ var62.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
/* 7: splatbw */
- var62.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
+ var63.i = ((var61 & 0xff) << 8) | (var61 & 0xff);
/* 8: splatbw */
- var63.i = ((var59 & 0xff) << 8) | (var59 & 0xff);
+ var64.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 10: mulhsw */
- var64.i = (var61.i * var48.i) >> 16;
+ var65.i = (var62.i * var48.i) >> 16;
/* 12: mulhsw */
- var65.i = (var63.i * var49.i) >> 16;
+ var66.i = (var64.i * var49.i) >> 16;
/* 13: addw */
- var66.i = var64.i + var65.i;
+ var67.i = var65.i + var66.i;
/* 14: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
+ var68 = ORC_CLAMP_SB (var67.i);
/* 15: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var67;
- _dest.x2[1] = var58;
- var68.i = _dest.i;
+ _dest.x2[0] = var68;
+ _dest.x2[1] = var59;
+ var69.i = _dest.i;
}
/* 17: mulhsw */
- var69.i = (var62.i * var50.i) >> 16;
+ var70.i = (var63.i * var50.i) >> 16;
/* 18: addw */
- var70.i = var64.i + var69.i;
+ var71.i = var65.i + var70.i;
/* 19: convssswb */
- var71 = ORC_CLAMP_SB (var70.i);
+ var72 = ORC_CLAMP_SB (var71.i);
/* 21: mulhsw */
- var72.i = (var62.i * var51.i) >> 16;
+ var73.i = (var63.i * var51.i) >> 16;
/* 22: addw */
- var73.i = var64.i + var72.i;
+ var74.i = var65.i + var73.i;
/* 24: mulhsw */
- var74.i = (var63.i * var52.i) >> 16;
+ var75.i = (var64.i * var52.i) >> 16;
/* 25: addw */
- var75.i = var73.i + var74.i;
+ var76.i = var74.i + var75.i;
/* 26: convssswb */
- var76 = ORC_CLAMP_SB (var75.i);
+ var77 = ORC_CLAMP_SB (var76.i);
/* 27: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var71;
- _dest.x2[1] = var76;
- var77.i = _dest.i;
+ _dest.x2[0] = var72;
+ _dest.x2[1] = var77;
+ var78.i = _dest.i;
}
/* 28: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var77.i;
- _dest.x2[1] = var68.i;
- var78.i = _dest.i;
+ _dest.x2[0] = var78.i;
+ _dest.x2[1] = var69.i;
+ var79.i = _dest.i;
}
- /* 29: addb */
- var53.x4[0] = var78.x4[0] + var47.x4[0];
- var53.x4[1] = var78.x4[1] + var47.x4[1];
- var53.x4[2] = var78.x4[2] + var47.x4[2];
- var53.x4[3] = var78.x4[3] + var47.x4[3];
- /* 30: storel */
- ptr0[i] = var53;
+ /* 30: addb */
+ var54.x4[0] = var79.x4[0] + var53.x4[0];
+ var54.x4[1] = var79.x4[1] + var53.x4[1];
+ var54.x4[2] = var79.x4[2] + var53.x4[2];
+ var54.x4[3] = var79.x4[3] + var53.x4[3];
+ /* 31: storel */
+ ptr0[i] = var54;
}
}
orc_union16 var50;
orc_union16 var51;
orc_union16 var52;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var53;
+#else
orc_union32 var53;
+#endif
orc_union32 var54;
- orc_union16 var55;
+ orc_union32 var55;
orc_union16 var56;
- orc_int8 var57;
+ orc_union16 var57;
orc_int8 var58;
orc_int8 var59;
orc_int8 var60;
- orc_union16 var61;
+ orc_int8 var61;
orc_union16 var62;
orc_union16 var63;
orc_union16 var64;
orc_union16 var65;
orc_union16 var66;
- orc_int8 var67;
- orc_union16 var68;
+ orc_union16 var67;
+ orc_int8 var68;
orc_union16 var69;
- orc_int8 var70;
- orc_union16 var71;
+ orc_union16 var70;
+ orc_int8 var71;
orc_union16 var72;
orc_union16 var73;
orc_union16 var74;
orc_union16 var75;
- orc_int8 var76;
- orc_union16 var77;
- orc_union32 var78;
+ orc_union16 var76;
+ orc_int8 var77;
+ orc_union16 var78;
+ orc_union32 var79;
for (j = 0; j < m; j++) {
ptr0 = ORC_PTR_OFFSET (d1, d1_stride * j);
var51.i = p4;
/* 23: loadpw */
var52.i = p5;
+ /* 29: loadpb */
+ var53.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var46 = ptr4[i];
/* 2: subb */
- var54.x4[0] = var46.x4[0] - var47.x4[0];
- var54.x4[1] = var46.x4[1] - var47.x4[1];
- var54.x4[2] = var46.x4[2] - var47.x4[2];
- var54.x4[3] = var46.x4[3] - var47.x4[3];
+ var55.x4[0] = var46.x4[0] - var47.x4[0];
+ var55.x4[1] = var46.x4[1] - var47.x4[1];
+ var55.x4[2] = var46.x4[2] - var47.x4[2];
+ var55.x4[3] = var46.x4[3] - var47.x4[3];
/* 3: splitlw */
{
orc_union32 _src;
- _src.i = var54.i;
- var55.i = _src.x2[1];
- var56.i = _src.x2[0];
+ _src.i = var55.i;
+ var56.i = _src.x2[1];
+ var57.i = _src.x2[0];
}
/* 4: splitwb */
{
orc_union16 _src;
- _src.i = var56.i;
- var57 = _src.x2[1];
- var58 = _src.x2[0];
+ _src.i = var57.i;
+ var58 = _src.x2[1];
+ var59 = _src.x2[0];
}
/* 5: splitwb */
{
orc_union16 _src;
- _src.i = var55.i;
- var59 = _src.x2[1];
- var60 = _src.x2[0];
+ _src.i = var56.i;
+ var60 = _src.x2[1];
+ var61 = _src.x2[0];
}
/* 6: splatbw */
- var61.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ var62.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
/* 7: splatbw */
- var62.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
+ var63.i = ((var61 & 0xff) << 8) | (var61 & 0xff);
/* 8: splatbw */
- var63.i = ((var59 & 0xff) << 8) | (var59 & 0xff);
+ var64.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 10: mulhsw */
- var64.i = (var61.i * var48.i) >> 16;
+ var65.i = (var62.i * var48.i) >> 16;
/* 12: mulhsw */
- var65.i = (var63.i * var49.i) >> 16;
+ var66.i = (var64.i * var49.i) >> 16;
/* 13: addw */
- var66.i = var64.i + var65.i;
+ var67.i = var65.i + var66.i;
/* 14: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
+ var68 = ORC_CLAMP_SB (var67.i);
/* 16: mulhsw */
- var68.i = (var62.i * var50.i) >> 16;
+ var69.i = (var63.i * var50.i) >> 16;
/* 17: addw */
- var69.i = var64.i + var68.i;
+ var70.i = var65.i + var69.i;
/* 18: convssswb */
- var70 = ORC_CLAMP_SB (var69.i);
+ var71 = ORC_CLAMP_SB (var70.i);
/* 19: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var58;
- _dest.x2[1] = var70;
- var71.i = _dest.i;
+ _dest.x2[0] = var59;
+ _dest.x2[1] = var71;
+ var72.i = _dest.i;
}
/* 21: mulhsw */
- var72.i = (var62.i * var51.i) >> 16;
+ var73.i = (var63.i * var51.i) >> 16;
/* 22: addw */
- var73.i = var64.i + var72.i;
+ var74.i = var65.i + var73.i;
/* 24: mulhsw */
- var74.i = (var63.i * var52.i) >> 16;
+ var75.i = (var64.i * var52.i) >> 16;
/* 25: addw */
- var75.i = var73.i + var74.i;
+ var76.i = var74.i + var75.i;
/* 26: convssswb */
- var76 = ORC_CLAMP_SB (var75.i);
+ var77 = ORC_CLAMP_SB (var76.i);
/* 27: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var76;
- _dest.x2[1] = var67;
- var77.i = _dest.i;
+ _dest.x2[0] = var77;
+ _dest.x2[1] = var68;
+ var78.i = _dest.i;
}
/* 28: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var71.i;
- _dest.x2[1] = var77.i;
- var78.i = _dest.i;
+ _dest.x2[0] = var72.i;
+ _dest.x2[1] = var78.i;
+ var79.i = _dest.i;
}
- /* 29: addb */
- var53.x4[0] = var78.x4[0] + var47.x4[0];
- var53.x4[1] = var78.x4[1] + var47.x4[1];
- var53.x4[2] = var78.x4[2] + var47.x4[2];
- var53.x4[3] = var78.x4[3] + var47.x4[3];
- /* 30: storel */
- ptr0[i] = var53;
+ /* 30: addb */
+ var54.x4[0] = var79.x4[0] + var53.x4[0];
+ var54.x4[1] = var79.x4[1] + var53.x4[1];
+ var54.x4[2] = var79.x4[2] + var53.x4[2];
+ var54.x4[3] = var79.x4[3] + var53.x4[3];
+ /* 31: storel */
+ ptr0[i] = var54;
}
}
orc_union16 var50;
orc_union16 var51;
orc_union16 var52;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var53;
+#else
orc_union32 var53;
+#endif
orc_union32 var54;
- orc_union16 var55;
+ orc_union32 var55;
orc_union16 var56;
- orc_int8 var57;
+ orc_union16 var57;
orc_int8 var58;
orc_int8 var59;
orc_int8 var60;
- orc_union16 var61;
+ orc_int8 var61;
orc_union16 var62;
orc_union16 var63;
orc_union16 var64;
orc_union16 var65;
orc_union16 var66;
- orc_int8 var67;
- orc_union16 var68;
+ orc_union16 var67;
+ orc_int8 var68;
orc_union16 var69;
- orc_int8 var70;
- orc_union16 var71;
+ orc_union16 var70;
+ orc_int8 var71;
orc_union16 var72;
orc_union16 var73;
orc_union16 var74;
orc_union16 var75;
- orc_int8 var76;
- orc_union16 var77;
- orc_union32 var78;
+ orc_union16 var76;
+ orc_int8 var77;
+ orc_union16 var78;
+ orc_union32 var79;
for (j = 0; j < m; j++) {
ptr0 = ORC_PTR_OFFSET (ex->arrays[0], ex->params[0] * j);
var51.i = ex->params[27];
/* 23: loadpw */
var52.i = ex->params[28];
+ /* 29: loadpb */
+ var53.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var46 = ptr4[i];
/* 2: subb */
- var54.x4[0] = var46.x4[0] - var47.x4[0];
- var54.x4[1] = var46.x4[1] - var47.x4[1];
- var54.x4[2] = var46.x4[2] - var47.x4[2];
- var54.x4[3] = var46.x4[3] - var47.x4[3];
+ var55.x4[0] = var46.x4[0] - var47.x4[0];
+ var55.x4[1] = var46.x4[1] - var47.x4[1];
+ var55.x4[2] = var46.x4[2] - var47.x4[2];
+ var55.x4[3] = var46.x4[3] - var47.x4[3];
/* 3: splitlw */
{
orc_union32 _src;
- _src.i = var54.i;
- var55.i = _src.x2[1];
- var56.i = _src.x2[0];
+ _src.i = var55.i;
+ var56.i = _src.x2[1];
+ var57.i = _src.x2[0];
}
/* 4: splitwb */
{
orc_union16 _src;
- _src.i = var56.i;
- var57 = _src.x2[1];
- var58 = _src.x2[0];
+ _src.i = var57.i;
+ var58 = _src.x2[1];
+ var59 = _src.x2[0];
}
/* 5: splitwb */
{
orc_union16 _src;
- _src.i = var55.i;
- var59 = _src.x2[1];
- var60 = _src.x2[0];
+ _src.i = var56.i;
+ var60 = _src.x2[1];
+ var61 = _src.x2[0];
}
/* 6: splatbw */
- var61.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ var62.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
/* 7: splatbw */
- var62.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
+ var63.i = ((var61 & 0xff) << 8) | (var61 & 0xff);
/* 8: splatbw */
- var63.i = ((var59 & 0xff) << 8) | (var59 & 0xff);
+ var64.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 10: mulhsw */
- var64.i = (var61.i * var48.i) >> 16;
+ var65.i = (var62.i * var48.i) >> 16;
/* 12: mulhsw */
- var65.i = (var63.i * var49.i) >> 16;
+ var66.i = (var64.i * var49.i) >> 16;
/* 13: addw */
- var66.i = var64.i + var65.i;
+ var67.i = var65.i + var66.i;
/* 14: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
+ var68 = ORC_CLAMP_SB (var67.i);
/* 16: mulhsw */
- var68.i = (var62.i * var50.i) >> 16;
+ var69.i = (var63.i * var50.i) >> 16;
/* 17: addw */
- var69.i = var64.i + var68.i;
+ var70.i = var65.i + var69.i;
/* 18: convssswb */
- var70 = ORC_CLAMP_SB (var69.i);
+ var71 = ORC_CLAMP_SB (var70.i);
/* 19: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var58;
- _dest.x2[1] = var70;
- var71.i = _dest.i;
+ _dest.x2[0] = var59;
+ _dest.x2[1] = var71;
+ var72.i = _dest.i;
}
/* 21: mulhsw */
- var72.i = (var62.i * var51.i) >> 16;
+ var73.i = (var63.i * var51.i) >> 16;
/* 22: addw */
- var73.i = var64.i + var72.i;
+ var74.i = var65.i + var73.i;
/* 24: mulhsw */
- var74.i = (var63.i * var52.i) >> 16;
+ var75.i = (var64.i * var52.i) >> 16;
/* 25: addw */
- var75.i = var73.i + var74.i;
+ var76.i = var74.i + var75.i;
/* 26: convssswb */
- var76 = ORC_CLAMP_SB (var75.i);
+ var77 = ORC_CLAMP_SB (var76.i);
/* 27: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var76;
- _dest.x2[1] = var67;
- var77.i = _dest.i;
+ _dest.x2[0] = var77;
+ _dest.x2[1] = var68;
+ var78.i = _dest.i;
}
/* 28: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var71.i;
- _dest.x2[1] = var77.i;
- var78.i = _dest.i;
+ _dest.x2[0] = var72.i;
+ _dest.x2[1] = var78.i;
+ var79.i = _dest.i;
}
- /* 29: addb */
- var53.x4[0] = var78.x4[0] + var47.x4[0];
- var53.x4[1] = var78.x4[1] + var47.x4[1];
- var53.x4[2] = var78.x4[2] + var47.x4[2];
- var53.x4[3] = var78.x4[3] + var47.x4[3];
- /* 30: storel */
- ptr0[i] = var53;
+ /* 30: addb */
+ var54.x4[0] = var79.x4[0] + var53.x4[0];
+ var54.x4[1] = var79.x4[1] + var53.x4[1];
+ var54.x4[2] = var79.x4[2] + var53.x4[2];
+ var54.x4[3] = var79.x4[3] + var53.x4[3];
+ /* 31: storel */
+ ptr0[i] = var54;
}
}
orc_union16 var50;
orc_union16 var51;
orc_union16 var52;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var53;
+#else
orc_union32 var53;
+#endif
orc_union32 var54;
- orc_union16 var55;
+ orc_union32 var55;
orc_union16 var56;
- orc_int8 var57;
+ orc_union16 var57;
orc_int8 var58;
orc_int8 var59;
orc_int8 var60;
- orc_union16 var61;
+ orc_int8 var61;
orc_union16 var62;
orc_union16 var63;
orc_union16 var64;
orc_union16 var65;
orc_union16 var66;
- orc_int8 var67;
- orc_union16 var68;
+ orc_union16 var67;
+ orc_int8 var68;
orc_union16 var69;
- orc_int8 var70;
- orc_union16 var71;
+ orc_union16 var70;
+ orc_int8 var71;
orc_union16 var72;
orc_union16 var73;
orc_union16 var74;
orc_union16 var75;
- orc_int8 var76;
- orc_union16 var77;
- orc_union32 var78;
+ orc_union16 var76;
+ orc_int8 var77;
+ orc_union16 var78;
+ orc_union32 var79;
for (j = 0; j < m; j++) {
ptr0 = ORC_PTR_OFFSET (d1, d1_stride * j);
var51.i = p4;
/* 23: loadpw */
var52.i = p5;
+ /* 29: loadpb */
+ var53.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var46 = ptr4[i];
/* 2: subb */
- var54.x4[0] = var46.x4[0] - var47.x4[0];
- var54.x4[1] = var46.x4[1] - var47.x4[1];
- var54.x4[2] = var46.x4[2] - var47.x4[2];
- var54.x4[3] = var46.x4[3] - var47.x4[3];
+ var55.x4[0] = var46.x4[0] - var47.x4[0];
+ var55.x4[1] = var46.x4[1] - var47.x4[1];
+ var55.x4[2] = var46.x4[2] - var47.x4[2];
+ var55.x4[3] = var46.x4[3] - var47.x4[3];
/* 3: splitlw */
{
orc_union32 _src;
- _src.i = var54.i;
- var55.i = _src.x2[1];
- var56.i = _src.x2[0];
+ _src.i = var55.i;
+ var56.i = _src.x2[1];
+ var57.i = _src.x2[0];
}
/* 4: splitwb */
{
orc_union16 _src;
- _src.i = var56.i;
- var57 = _src.x2[1];
- var58 = _src.x2[0];
+ _src.i = var57.i;
+ var58 = _src.x2[1];
+ var59 = _src.x2[0];
}
/* 5: splitwb */
{
orc_union16 _src;
- _src.i = var55.i;
- var59 = _src.x2[1];
- var60 = _src.x2[0];
+ _src.i = var56.i;
+ var60 = _src.x2[1];
+ var61 = _src.x2[0];
}
/* 6: splatbw */
- var61.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ var62.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
/* 7: splatbw */
- var62.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
+ var63.i = ((var61 & 0xff) << 8) | (var61 & 0xff);
/* 8: splatbw */
- var63.i = ((var59 & 0xff) << 8) | (var59 & 0xff);
+ var64.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 10: mulhsw */
- var64.i = (var61.i * var48.i) >> 16;
+ var65.i = (var62.i * var48.i) >> 16;
/* 12: mulhsw */
- var65.i = (var63.i * var49.i) >> 16;
+ var66.i = (var64.i * var49.i) >> 16;
/* 13: addw */
- var66.i = var64.i + var65.i;
+ var67.i = var65.i + var66.i;
/* 14: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
+ var68 = ORC_CLAMP_SB (var67.i);
/* 16: mulhsw */
- var68.i = (var62.i * var50.i) >> 16;
+ var69.i = (var63.i * var50.i) >> 16;
/* 17: addw */
- var69.i = var64.i + var68.i;
+ var70.i = var65.i + var69.i;
/* 18: convssswb */
- var70 = ORC_CLAMP_SB (var69.i);
+ var71 = ORC_CLAMP_SB (var70.i);
/* 19: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var70;
- _dest.x2[1] = var58;
- var71.i = _dest.i;
+ _dest.x2[0] = var71;
+ _dest.x2[1] = var59;
+ var72.i = _dest.i;
}
/* 21: mulhsw */
- var72.i = (var62.i * var51.i) >> 16;
+ var73.i = (var63.i * var51.i) >> 16;
/* 22: addw */
- var73.i = var64.i + var72.i;
+ var74.i = var65.i + var73.i;
/* 24: mulhsw */
- var74.i = (var63.i * var52.i) >> 16;
+ var75.i = (var64.i * var52.i) >> 16;
/* 25: addw */
- var75.i = var73.i + var74.i;
+ var76.i = var74.i + var75.i;
/* 26: convssswb */
- var76 = ORC_CLAMP_SB (var75.i);
+ var77 = ORC_CLAMP_SB (var76.i);
/* 27: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var67;
- _dest.x2[1] = var76;
- var77.i = _dest.i;
+ _dest.x2[0] = var68;
+ _dest.x2[1] = var77;
+ var78.i = _dest.i;
}
/* 28: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var77.i;
- _dest.x2[1] = var71.i;
- var78.i = _dest.i;
+ _dest.x2[0] = var78.i;
+ _dest.x2[1] = var72.i;
+ var79.i = _dest.i;
}
- /* 29: addb */
- var53.x4[0] = var78.x4[0] + var47.x4[0];
- var53.x4[1] = var78.x4[1] + var47.x4[1];
- var53.x4[2] = var78.x4[2] + var47.x4[2];
- var53.x4[3] = var78.x4[3] + var47.x4[3];
- /* 30: storel */
- ptr0[i] = var53;
+ /* 30: addb */
+ var54.x4[0] = var79.x4[0] + var53.x4[0];
+ var54.x4[1] = var79.x4[1] + var53.x4[1];
+ var54.x4[2] = var79.x4[2] + var53.x4[2];
+ var54.x4[3] = var79.x4[3] + var53.x4[3];
+ /* 31: storel */
+ ptr0[i] = var54;
}
}
orc_union16 var50;
orc_union16 var51;
orc_union16 var52;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var53;
+#else
orc_union32 var53;
+#endif
orc_union32 var54;
- orc_union16 var55;
+ orc_union32 var55;
orc_union16 var56;
- orc_int8 var57;
+ orc_union16 var57;
orc_int8 var58;
orc_int8 var59;
orc_int8 var60;
- orc_union16 var61;
+ orc_int8 var61;
orc_union16 var62;
orc_union16 var63;
orc_union16 var64;
orc_union16 var65;
orc_union16 var66;
- orc_int8 var67;
- orc_union16 var68;
+ orc_union16 var67;
+ orc_int8 var68;
orc_union16 var69;
- orc_int8 var70;
- orc_union16 var71;
+ orc_union16 var70;
+ orc_int8 var71;
orc_union16 var72;
orc_union16 var73;
orc_union16 var74;
orc_union16 var75;
- orc_int8 var76;
- orc_union16 var77;
- orc_union32 var78;
+ orc_union16 var76;
+ orc_int8 var77;
+ orc_union16 var78;
+ orc_union32 var79;
for (j = 0; j < m; j++) {
ptr0 = ORC_PTR_OFFSET (ex->arrays[0], ex->params[0] * j);
var51.i = ex->params[27];
/* 23: loadpw */
var52.i = ex->params[28];
+ /* 29: loadpb */
+ var53.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var53.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadl */
var46 = ptr4[i];
/* 2: subb */
- var54.x4[0] = var46.x4[0] - var47.x4[0];
- var54.x4[1] = var46.x4[1] - var47.x4[1];
- var54.x4[2] = var46.x4[2] - var47.x4[2];
- var54.x4[3] = var46.x4[3] - var47.x4[3];
+ var55.x4[0] = var46.x4[0] - var47.x4[0];
+ var55.x4[1] = var46.x4[1] - var47.x4[1];
+ var55.x4[2] = var46.x4[2] - var47.x4[2];
+ var55.x4[3] = var46.x4[3] - var47.x4[3];
/* 3: splitlw */
{
orc_union32 _src;
- _src.i = var54.i;
- var55.i = _src.x2[1];
- var56.i = _src.x2[0];
+ _src.i = var55.i;
+ var56.i = _src.x2[1];
+ var57.i = _src.x2[0];
}
/* 4: splitwb */
{
orc_union16 _src;
- _src.i = var56.i;
- var57 = _src.x2[1];
- var58 = _src.x2[0];
+ _src.i = var57.i;
+ var58 = _src.x2[1];
+ var59 = _src.x2[0];
}
/* 5: splitwb */
{
orc_union16 _src;
- _src.i = var55.i;
- var59 = _src.x2[1];
- var60 = _src.x2[0];
+ _src.i = var56.i;
+ var60 = _src.x2[1];
+ var61 = _src.x2[0];
}
/* 6: splatbw */
- var61.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ var62.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
/* 7: splatbw */
- var62.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
+ var63.i = ((var61 & 0xff) << 8) | (var61 & 0xff);
/* 8: splatbw */
- var63.i = ((var59 & 0xff) << 8) | (var59 & 0xff);
+ var64.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 10: mulhsw */
- var64.i = (var61.i * var48.i) >> 16;
+ var65.i = (var62.i * var48.i) >> 16;
/* 12: mulhsw */
- var65.i = (var63.i * var49.i) >> 16;
+ var66.i = (var64.i * var49.i) >> 16;
/* 13: addw */
- var66.i = var64.i + var65.i;
+ var67.i = var65.i + var66.i;
/* 14: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
+ var68 = ORC_CLAMP_SB (var67.i);
/* 16: mulhsw */
- var68.i = (var62.i * var50.i) >> 16;
+ var69.i = (var63.i * var50.i) >> 16;
/* 17: addw */
- var69.i = var64.i + var68.i;
+ var70.i = var65.i + var69.i;
/* 18: convssswb */
- var70 = ORC_CLAMP_SB (var69.i);
+ var71 = ORC_CLAMP_SB (var70.i);
/* 19: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var70;
- _dest.x2[1] = var58;
- var71.i = _dest.i;
+ _dest.x2[0] = var71;
+ _dest.x2[1] = var59;
+ var72.i = _dest.i;
}
/* 21: mulhsw */
- var72.i = (var62.i * var51.i) >> 16;
+ var73.i = (var63.i * var51.i) >> 16;
/* 22: addw */
- var73.i = var64.i + var72.i;
+ var74.i = var65.i + var73.i;
/* 24: mulhsw */
- var74.i = (var63.i * var52.i) >> 16;
+ var75.i = (var64.i * var52.i) >> 16;
/* 25: addw */
- var75.i = var73.i + var74.i;
+ var76.i = var74.i + var75.i;
/* 26: convssswb */
- var76 = ORC_CLAMP_SB (var75.i);
+ var77 = ORC_CLAMP_SB (var76.i);
/* 27: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var67;
- _dest.x2[1] = var76;
- var77.i = _dest.i;
+ _dest.x2[0] = var68;
+ _dest.x2[1] = var77;
+ var78.i = _dest.i;
}
/* 28: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var77.i;
- _dest.x2[1] = var71.i;
- var78.i = _dest.i;
+ _dest.x2[0] = var78.i;
+ _dest.x2[1] = var72.i;
+ var79.i = _dest.i;
}
- /* 29: addb */
- var53.x4[0] = var78.x4[0] + var47.x4[0];
- var53.x4[1] = var78.x4[1] + var47.x4[1];
- var53.x4[2] = var78.x4[2] + var47.x4[2];
- var53.x4[3] = var78.x4[3] + var47.x4[3];
- /* 30: storel */
- ptr0[i] = var53;
+ /* 30: addb */
+ var54.x4[0] = var79.x4[0] + var53.x4[0];
+ var54.x4[1] = var79.x4[1] + var53.x4[1];
+ var54.x4[2] = var79.x4[2] + var53.x4[2];
+ var54.x4[3] = var79.x4[3] + var53.x4[3];
+ /* 31: storel */
+ ptr0[i] = var54;
}
}
#else
orc_int8 var43;
#endif
- orc_union16 var44;
- orc_union16 var45;
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
- volatile orc_int8 var46;
+ volatile orc_int8 var44;
#else
- orc_int8 var46;
+ orc_int8 var44;
+#endif
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_int8 var45;
+#else
+ orc_int8 var45;
#endif
+ orc_union16 var46;
orc_union16 var47;
- orc_union16 var48;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_int8 var48;
+#else
+ orc_int8 var48;
+#endif
orc_union16 var49;
+ orc_union16 var50;
+ orc_union16 var51;
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
- volatile orc_union32 var50;
+ volatile orc_union32 var52;
#else
- orc_union32 var50;
+ orc_union32 var52;
#endif
- orc_union32 var51;
- orc_int8 var52;
- orc_union16 var53;
+ orc_union32 var53;
orc_int8 var54;
- orc_int8 var55;
- orc_union16 var56;
+ orc_union16 var55;
+ orc_int8 var56;
orc_int8 var57;
- orc_int8 var58;
- orc_union16 var59;
- orc_union16 var60;
+ orc_union16 var58;
+ orc_int8 var59;
+ orc_int8 var60;
orc_union16 var61;
orc_union16 var62;
- orc_int8 var63;
+ orc_union16 var63;
orc_union16 var64;
- orc_union16 var65;
+ orc_int8 var65;
orc_union16 var66;
- orc_int8 var67;
+ orc_union16 var67;
orc_union16 var68;
- orc_union16 var69;
+ orc_int8 var69;
orc_union16 var70;
orc_union16 var71;
- orc_int8 var72;
+ orc_union16 var72;
orc_union16 var73;
- orc_union32 var74;
+ orc_int8 var74;
+ orc_union16 var75;
+ orc_union32 var76;
ptr0 = (orc_union32 *) d1;
ptr4 = (orc_int8 *) s1;
/* 1: loadpb */
var43 = (int) 0x00000080; /* 128 or 6.32404e-322f */
- /* 10: loadpw */
- var44.i = p1;
+ /* 5: loadpb */
+ var44 = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ /* 9: loadpb */
+ var45 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 12: loadpw */
- var45.i = p2;
- /* 16: loadpb */
- var46 = (int) 0x0000007f; /* 127 or 6.27463e-322f */
- /* 18: loadpw */
- var47.i = p3;
- /* 22: loadpw */
- var48.i = p4;
- /* 25: loadpw */
- var49.i = p5;
- /* 31: loadpb */
- var50.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
- var50.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
- var50.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
- var50.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var46.i = p1;
+ /* 14: loadpw */
+ var47.i = p2;
+ /* 18: loadpb */
+ var48 = (int) 0x0000007f; /* 127 or 6.27463e-322f */
+ /* 20: loadpw */
+ var49.i = p3;
+ /* 24: loadpw */
+ var50.i = p4;
+ /* 27: loadpw */
+ var51.i = p5;
+ /* 33: loadpb */
+ var52.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var52.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var52.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var52.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
var42 = ptr4[i];
/* 2: subb */
- var52 = var42 - var43;
+ var54 = var42 - var43;
/* 3: splatbw */
- var53.i = ((var52 & 0xff) << 8) | (var52 & 0xff);
+ var55.i = ((var54 & 0xff) << 8) | (var54 & 0xff);
/* 4: loadupdb */
- var54 = ptr5[i >> 1];
- /* 5: subb */
- var55 = var54 - var43;
- /* 6: splatbw */
- var56.i = ((var55 & 0xff) << 8) | (var55 & 0xff);
- /* 7: loadupdb */
- var57 = ptr6[i >> 1];
- /* 8: subb */
- var58 = var57 - var43;
- /* 9: splatbw */
- var59.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
- /* 11: mulhsw */
- var60.i = (var53.i * var44.i) >> 16;
+ var56 = ptr5[i >> 1];
+ /* 6: subb */
+ var57 = var56 - var44;
+ /* 7: splatbw */
+ var58.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ /* 8: loadupdb */
+ var59 = ptr6[i >> 1];
+ /* 10: subb */
+ var60 = var59 - var45;
+ /* 11: splatbw */
+ var61.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 13: mulhsw */
- var61.i = (var59.i * var45.i) >> 16;
- /* 14: addw */
- var62.i = var60.i + var61.i;
- /* 15: convssswb */
- var63 = ORC_CLAMP_SB (var62.i);
- /* 17: mergebw */
+ var62.i = (var55.i * var46.i) >> 16;
+ /* 15: mulhsw */
+ var63.i = (var61.i * var47.i) >> 16;
+ /* 16: addw */
+ var64.i = var62.i + var63.i;
+ /* 17: convssswb */
+ var65 = ORC_CLAMP_SB (var64.i);
+ /* 19: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var63;
- _dest.x2[1] = var46;
- var64.i = _dest.i;
+ _dest.x2[0] = var65;
+ _dest.x2[1] = var48;
+ var66.i = _dest.i;
}
- /* 19: mulhsw */
- var65.i = (var56.i * var47.i) >> 16;
- /* 20: addw */
- var66.i = var60.i + var65.i;
- /* 21: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
- /* 23: mulhsw */
- var68.i = (var56.i * var48.i) >> 16;
- /* 24: addw */
- var69.i = var60.i + var68.i;
- /* 26: mulhsw */
- var70.i = (var59.i * var49.i) >> 16;
- /* 27: addw */
- var71.i = var69.i + var70.i;
- /* 28: convssswb */
- var72 = ORC_CLAMP_SB (var71.i);
- /* 29: mergebw */
+ /* 21: mulhsw */
+ var67.i = (var58.i * var49.i) >> 16;
+ /* 22: addw */
+ var68.i = var62.i + var67.i;
+ /* 23: convssswb */
+ var69 = ORC_CLAMP_SB (var68.i);
+ /* 25: mulhsw */
+ var70.i = (var58.i * var50.i) >> 16;
+ /* 26: addw */
+ var71.i = var62.i + var70.i;
+ /* 28: mulhsw */
+ var72.i = (var61.i * var51.i) >> 16;
+ /* 29: addw */
+ var73.i = var71.i + var72.i;
+ /* 30: convssswb */
+ var74 = ORC_CLAMP_SB (var73.i);
+ /* 31: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var67;
- _dest.x2[1] = var72;
- var73.i = _dest.i;
+ _dest.x2[0] = var69;
+ _dest.x2[1] = var74;
+ var75.i = _dest.i;
}
- /* 30: mergewl */
+ /* 32: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var73.i;
- _dest.x2[1] = var64.i;
- var74.i = _dest.i;
- }
- /* 32: addb */
- var51.x4[0] = var74.x4[0] + var50.x4[0];
- var51.x4[1] = var74.x4[1] + var50.x4[1];
- var51.x4[2] = var74.x4[2] + var50.x4[2];
- var51.x4[3] = var74.x4[3] + var50.x4[3];
- /* 33: storel */
- ptr0[i] = var51;
+ _dest.x2[0] = var75.i;
+ _dest.x2[1] = var66.i;
+ var76.i = _dest.i;
+ }
+ /* 34: addb */
+ var53.x4[0] = var76.x4[0] + var52.x4[0];
+ var53.x4[1] = var76.x4[1] + var52.x4[1];
+ var53.x4[2] = var76.x4[2] + var52.x4[2];
+ var53.x4[3] = var76.x4[3] + var52.x4[3];
+ /* 35: storel */
+ ptr0[i] = var53;
}
}
#else
orc_int8 var43;
#endif
- orc_union16 var44;
- orc_union16 var45;
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
- volatile orc_int8 var46;
+ volatile orc_int8 var44;
#else
- orc_int8 var46;
+ orc_int8 var44;
#endif
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_int8 var45;
+#else
+ orc_int8 var45;
+#endif
+ orc_union16 var46;
orc_union16 var47;
- orc_union16 var48;
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_int8 var48;
+#else
+ orc_int8 var48;
+#endif
orc_union16 var49;
+ orc_union16 var50;
+ orc_union16 var51;
#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
- volatile orc_union32 var50;
+ volatile orc_union32 var52;
#else
- orc_union32 var50;
+ orc_union32 var52;
#endif
- orc_union32 var51;
- orc_int8 var52;
- orc_union16 var53;
+ orc_union32 var53;
orc_int8 var54;
- orc_int8 var55;
- orc_union16 var56;
+ orc_union16 var55;
+ orc_int8 var56;
orc_int8 var57;
- orc_int8 var58;
- orc_union16 var59;
- orc_union16 var60;
+ orc_union16 var58;
+ orc_int8 var59;
+ orc_int8 var60;
orc_union16 var61;
orc_union16 var62;
- orc_int8 var63;
+ orc_union16 var63;
orc_union16 var64;
- orc_union16 var65;
+ orc_int8 var65;
orc_union16 var66;
- orc_int8 var67;
+ orc_union16 var67;
orc_union16 var68;
- orc_union16 var69;
+ orc_int8 var69;
orc_union16 var70;
orc_union16 var71;
- orc_int8 var72;
+ orc_union16 var72;
orc_union16 var73;
- orc_union32 var74;
+ orc_int8 var74;
+ orc_union16 var75;
+ orc_union32 var76;
ptr0 = (orc_union32 *) ex->arrays[0];
ptr4 = (orc_int8 *) ex->arrays[4];
/* 1: loadpb */
var43 = (int) 0x00000080; /* 128 or 6.32404e-322f */
- /* 10: loadpw */
- var44.i = ex->params[24];
+ /* 5: loadpb */
+ var44 = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ /* 9: loadpb */
+ var45 = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 12: loadpw */
- var45.i = ex->params[25];
- /* 16: loadpb */
- var46 = (int) 0x0000007f; /* 127 or 6.27463e-322f */
- /* 18: loadpw */
- var47.i = ex->params[26];
- /* 22: loadpw */
- var48.i = ex->params[27];
- /* 25: loadpw */
- var49.i = ex->params[28];
- /* 31: loadpb */
- var50.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
- var50.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
- var50.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
- var50.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var46.i = ex->params[24];
+ /* 14: loadpw */
+ var47.i = ex->params[25];
+ /* 18: loadpb */
+ var48 = (int) 0x0000007f; /* 127 or 6.27463e-322f */
+ /* 20: loadpw */
+ var49.i = ex->params[26];
+ /* 24: loadpw */
+ var50.i = ex->params[27];
+ /* 27: loadpw */
+ var51.i = ex->params[28];
+ /* 33: loadpb */
+ var52.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var52.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var52.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var52.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 0: loadb */
var42 = ptr4[i];
/* 2: subb */
- var52 = var42 - var43;
+ var54 = var42 - var43;
/* 3: splatbw */
- var53.i = ((var52 & 0xff) << 8) | (var52 & 0xff);
+ var55.i = ((var54 & 0xff) << 8) | (var54 & 0xff);
/* 4: loadupdb */
- var54 = ptr5[i >> 1];
- /* 5: subb */
- var55 = var54 - var43;
- /* 6: splatbw */
- var56.i = ((var55 & 0xff) << 8) | (var55 & 0xff);
- /* 7: loadupdb */
- var57 = ptr6[i >> 1];
- /* 8: subb */
- var58 = var57 - var43;
- /* 9: splatbw */
- var59.i = ((var58 & 0xff) << 8) | (var58 & 0xff);
- /* 11: mulhsw */
- var60.i = (var53.i * var44.i) >> 16;
+ var56 = ptr5[i >> 1];
+ /* 6: subb */
+ var57 = var56 - var44;
+ /* 7: splatbw */
+ var58.i = ((var57 & 0xff) << 8) | (var57 & 0xff);
+ /* 8: loadupdb */
+ var59 = ptr6[i >> 1];
+ /* 10: subb */
+ var60 = var59 - var45;
+ /* 11: splatbw */
+ var61.i = ((var60 & 0xff) << 8) | (var60 & 0xff);
/* 13: mulhsw */
- var61.i = (var59.i * var45.i) >> 16;
- /* 14: addw */
- var62.i = var60.i + var61.i;
- /* 15: convssswb */
- var63 = ORC_CLAMP_SB (var62.i);
- /* 17: mergebw */
+ var62.i = (var55.i * var46.i) >> 16;
+ /* 15: mulhsw */
+ var63.i = (var61.i * var47.i) >> 16;
+ /* 16: addw */
+ var64.i = var62.i + var63.i;
+ /* 17: convssswb */
+ var65 = ORC_CLAMP_SB (var64.i);
+ /* 19: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var63;
- _dest.x2[1] = var46;
- var64.i = _dest.i;
+ _dest.x2[0] = var65;
+ _dest.x2[1] = var48;
+ var66.i = _dest.i;
}
- /* 19: mulhsw */
- var65.i = (var56.i * var47.i) >> 16;
- /* 20: addw */
- var66.i = var60.i + var65.i;
- /* 21: convssswb */
- var67 = ORC_CLAMP_SB (var66.i);
- /* 23: mulhsw */
- var68.i = (var56.i * var48.i) >> 16;
- /* 24: addw */
- var69.i = var60.i + var68.i;
- /* 26: mulhsw */
- var70.i = (var59.i * var49.i) >> 16;
- /* 27: addw */
- var71.i = var69.i + var70.i;
- /* 28: convssswb */
- var72 = ORC_CLAMP_SB (var71.i);
- /* 29: mergebw */
+ /* 21: mulhsw */
+ var67.i = (var58.i * var49.i) >> 16;
+ /* 22: addw */
+ var68.i = var62.i + var67.i;
+ /* 23: convssswb */
+ var69 = ORC_CLAMP_SB (var68.i);
+ /* 25: mulhsw */
+ var70.i = (var58.i * var50.i) >> 16;
+ /* 26: addw */
+ var71.i = var62.i + var70.i;
+ /* 28: mulhsw */
+ var72.i = (var61.i * var51.i) >> 16;
+ /* 29: addw */
+ var73.i = var71.i + var72.i;
+ /* 30: convssswb */
+ var74 = ORC_CLAMP_SB (var73.i);
+ /* 31: mergebw */
{
orc_union16 _dest;
- _dest.x2[0] = var67;
- _dest.x2[1] = var72;
- var73.i = _dest.i;
+ _dest.x2[0] = var69;
+ _dest.x2[1] = var74;
+ var75.i = _dest.i;
}
- /* 30: mergewl */
+ /* 32: mergewl */
{
orc_union32 _dest;
- _dest.x2[0] = var73.i;
- _dest.x2[1] = var64.i;
- var74.i = _dest.i;
- }
- /* 32: addb */
- var51.x4[0] = var74.x4[0] + var50.x4[0];
- var51.x4[1] = var74.x4[1] + var50.x4[1];
- var51.x4[2] = var74.x4[2] + var50.x4[2];
- var51.x4[3] = var74.x4[3] + var50.x4[3];
- /* 33: storel */
- ptr0[i] = var51;
+ _dest.x2[0] = var75.i;
+ _dest.x2[1] = var66.i;
+ var76.i = _dest.i;
+ }
+ /* 34: addb */
+ var53.x4[0] = var76.x4[0] + var52.x4[0];
+ var53.x4[1] = var76.x4[1] + var52.x4[1];
+ var53.x4[2] = var76.x4[2] + var52.x4[2];
+ var53.x4[3] = var76.x4[3] + var52.x4[3];
+ /* 35: storel */
+ ptr0[i] = var53;
}
}
1, 9, 27, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 99, 111, 110,
118, 101, 114, 116, 95, 73, 52, 50, 48, 95, 66, 71, 82, 65, 11, 4,
4, 12, 1, 1, 12, 1, 1, 12, 1, 1, 14, 1, 128, 0, 0, 0,
- 14, 1, 127, 0, 0, 0, 16, 2, 16, 2, 16, 2, 16, 2, 16, 2,
+ 14, 4, 127, 0, 0, 0, 16, 2, 16, 2, 16, 2, 16, 2, 16, 2,
20, 2, 20, 2, 20, 2, 20, 2, 20, 2, 20, 2, 20, 1, 20, 1,
20, 1, 20, 4, 65, 38, 4, 16, 151, 32, 38, 45, 38, 5, 65, 38,
38, 16, 151, 33, 38, 45, 38, 6, 65, 38, 38, 16, 151, 34, 38, 90,
orc_program_add_source (p, 1, "s2");
orc_program_add_source (p, 1, "s3");
orc_program_add_constant (p, 1, 0x00000080, "c1");
- orc_program_add_constant (p, 1, 0x0000007f, "c2");
+ orc_program_add_constant (p, 4, 0x0000007f, "c2");
orc_program_add_parameter (p, 2, "p1");
orc_program_add_parameter (p, 2, "p2");
orc_program_add_parameter (p, 2, "p3");
#else
orc_union64 var45;
#endif
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var46;
+#else
orc_union32 var46;
- orc_union64 var47;
+#endif
+ orc_union32 var47;
orc_union64 var48;
orc_union64 var49;
- orc_union32 var50;
- orc_union16 var51;
+ orc_union64 var50;
+ orc_union32 var51;
orc_union16 var52;
- orc_int8 var53;
+ orc_union16 var53;
orc_int8 var54;
- orc_union32 var55;
- orc_union64 var56;
+ orc_int8 var55;
+ orc_union32 var56;
orc_union64 var57;
- orc_union32 var58;
- orc_union64 var59;
+ orc_union64 var58;
+ orc_union32 var59;
orc_union64 var60;
orc_union64 var61;
- orc_int8 var62;
- orc_union32 var63;
- orc_union64 var64;
+ orc_union64 var62;
+ orc_int8 var63;
+ orc_union32 var64;
orc_union64 var65;
orc_union64 var66;
- orc_int8 var67;
- orc_union32 var68;
- orc_union64 var69;
+ orc_union64 var67;
+ orc_int8 var68;
+ orc_union32 var69;
orc_union64 var70;
orc_union64 var71;
- orc_union32 var72;
+ orc_union64 var72;
+ orc_union32 var73;
ptr0 = (orc_union32 *) d1;
ptr4 = (orc_union32 *) s1;
/* 0: loadpq */
- var47.i = p1;
+ var48.i = p1;
/* 1: loadpq */
- var48.i = p2;
+ var49.i = p2;
/* 2: loadpq */
- var49.i = p3;
+ var50.i = p3;
/* 4: loadpb */
var44.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
var44.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
var44.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
var44.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 12: loadpq */
- var45.i = ORC_UINT64_C (0x00000000000000ff); /* 1.25987e-321f */
+ var45.i = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ /* 29: loadpb */
+ var46.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var46.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var46.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var46.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 3: loadl */
var43 = ptr4[i];
/* 5: subb */
- var50.x4[0] = var43.x4[0] - var44.x4[0];
- var50.x4[1] = var43.x4[1] - var44.x4[1];
- var50.x4[2] = var43.x4[2] - var44.x4[2];
- var50.x4[3] = var43.x4[3] - var44.x4[3];
+ var51.x4[0] = var43.x4[0] - var44.x4[0];
+ var51.x4[1] = var43.x4[1] - var44.x4[1];
+ var51.x4[2] = var43.x4[2] - var44.x4[2];
+ var51.x4[3] = var43.x4[3] - var44.x4[3];
/* 6: select0lw */
{
orc_union32 _src;
- _src.i = var50.i;
- var51.i = _src.x2[0];
+ _src.i = var51.i;
+ var52.i = _src.x2[0];
}
/* 7: select1lw */
{
orc_union32 _src;
- _src.i = var50.i;
- var52.i = _src.x2[1];
+ _src.i = var51.i;
+ var53.i = _src.x2[1];
}
/* 8: select0wb */
{
orc_union16 _src;
- _src.i = var51.i;
- var53 = _src.x2[0];
+ _src.i = var52.i;
+ var54 = _src.x2[0];
}
/* 9: select1wb */
{
orc_union16 _src;
- _src.i = var51.i;
- var54 = _src.x2[1];
+ _src.i = var52.i;
+ var55 = _src.x2[1];
}
/* 10: splatbl */
- var55.i =
- ((((orc_uint32) var53) & 0xff) << 24) | ((((orc_uint32) var53) & 0xff)
- << 16) | ((((orc_uint32) var53) & 0xff) << 8) | (((orc_uint32) var53) &
- 0xff);
+ var56.i =
+ ((var54 & 0xff) << 24) | ((var54 & 0xff) << 16) | ((var54 & 0xff) << 8)
+ | (var54 & 0xff);
/* 11: mergelq */
{
orc_union64 _dest;
- _dest.x2[0] = var55.i;
- _dest.x2[1] = var55.i;
- var56.i = _dest.i;
+ _dest.x2[0] = var56.i;
+ _dest.x2[1] = var56.i;
+ var57.i = _dest.i;
}
/* 13: andq */
- var57.i = var56.i & var45.i;
+ var58.i = var57.i & var45.i;
/* 14: splatbl */
- var58.i =
- ((((orc_uint32) var54) & 0xff) << 24) | ((((orc_uint32) var54) & 0xff)
- << 16) | ((((orc_uint32) var54) & 0xff) << 8) | (((orc_uint32) var54) &
- 0xff);
+ var59.i =
+ ((var55 & 0xff) << 24) | ((var55 & 0xff) << 16) | ((var55 & 0xff) << 8)
+ | (var55 & 0xff);
/* 15: mergelq */
{
orc_union64 _dest;
- _dest.x2[0] = var58.i;
- _dest.x2[1] = var58.i;
- var59.i = _dest.i;
+ _dest.x2[0] = var59.i;
+ _dest.x2[1] = var59.i;
+ var60.i = _dest.i;
}
/* 16: mulhsw */
- var60.x4[0] = (var59.x4[0] * var47.x4[0]) >> 16;
- var60.x4[1] = (var59.x4[1] * var47.x4[1]) >> 16;
- var60.x4[2] = (var59.x4[2] * var47.x4[2]) >> 16;
- var60.x4[3] = (var59.x4[3] * var47.x4[3]) >> 16;
+ var61.x4[0] = (var60.x4[0] * var48.x4[0]) >> 16;
+ var61.x4[1] = (var60.x4[1] * var48.x4[1]) >> 16;
+ var61.x4[2] = (var60.x4[2] * var48.x4[2]) >> 16;
+ var61.x4[3] = (var60.x4[3] * var48.x4[3]) >> 16;
/* 17: addssw */
- var61.x4[0] = ORC_CLAMP_SW (var57.x4[0] + var60.x4[0]);
- var61.x4[1] = ORC_CLAMP_SW (var57.x4[1] + var60.x4[1]);
- var61.x4[2] = ORC_CLAMP_SW (var57.x4[2] + var60.x4[2]);
- var61.x4[3] = ORC_CLAMP_SW (var57.x4[3] + var60.x4[3]);
+ var62.x4[0] = ORC_CLAMP_SW (var58.x4[0] + var61.x4[0]);
+ var62.x4[1] = ORC_CLAMP_SW (var58.x4[1] + var61.x4[1]);
+ var62.x4[2] = ORC_CLAMP_SW (var58.x4[2] + var61.x4[2]);
+ var62.x4[3] = ORC_CLAMP_SW (var58.x4[3] + var61.x4[3]);
/* 18: select0wb */
{
orc_union16 _src;
- _src.i = var52.i;
- var62 = _src.x2[0];
+ _src.i = var53.i;
+ var63 = _src.x2[0];
}
/* 19: splatbl */
- var63.i =
- ((((orc_uint32) var62) & 0xff) << 24) | ((((orc_uint32) var62) & 0xff)
- << 16) | ((((orc_uint32) var62) & 0xff) << 8) | (((orc_uint32) var62) &
- 0xff);
+ var64.i =
+ ((var63 & 0xff) << 24) | ((var63 & 0xff) << 16) | ((var63 & 0xff) << 8)
+ | (var63 & 0xff);
/* 20: mergelq */
{
orc_union64 _dest;
- _dest.x2[0] = var63.i;
- _dest.x2[1] = var63.i;
- var64.i = _dest.i;
+ _dest.x2[0] = var64.i;
+ _dest.x2[1] = var64.i;
+ var65.i = _dest.i;
}
/* 21: mulhsw */
- var65.x4[0] = (var64.x4[0] * var48.x4[0]) >> 16;
- var65.x4[1] = (var64.x4[1] * var48.x4[1]) >> 16;
- var65.x4[2] = (var64.x4[2] * var48.x4[2]) >> 16;
- var65.x4[3] = (var64.x4[3] * var48.x4[3]) >> 16;
+ var66.x4[0] = (var65.x4[0] * var49.x4[0]) >> 16;
+ var66.x4[1] = (var65.x4[1] * var49.x4[1]) >> 16;
+ var66.x4[2] = (var65.x4[2] * var49.x4[2]) >> 16;
+ var66.x4[3] = (var65.x4[3] * var49.x4[3]) >> 16;
/* 22: addssw */
- var66.x4[0] = ORC_CLAMP_SW (var61.x4[0] + var65.x4[0]);
- var66.x4[1] = ORC_CLAMP_SW (var61.x4[1] + var65.x4[1]);
- var66.x4[2] = ORC_CLAMP_SW (var61.x4[2] + var65.x4[2]);
- var66.x4[3] = ORC_CLAMP_SW (var61.x4[3] + var65.x4[3]);
+ var67.x4[0] = ORC_CLAMP_SW (var62.x4[0] + var66.x4[0]);
+ var67.x4[1] = ORC_CLAMP_SW (var62.x4[1] + var66.x4[1]);
+ var67.x4[2] = ORC_CLAMP_SW (var62.x4[2] + var66.x4[2]);
+ var67.x4[3] = ORC_CLAMP_SW (var62.x4[3] + var66.x4[3]);
/* 23: select1wb */
{
orc_union16 _src;
- _src.i = var52.i;
- var67 = _src.x2[1];
+ _src.i = var53.i;
+ var68 = _src.x2[1];
}
/* 24: splatbl */
- var68.i =
- ((((orc_uint32) var67) & 0xff) << 24) | ((((orc_uint32) var67) & 0xff)
- << 16) | ((((orc_uint32) var67) & 0xff) << 8) | (((orc_uint32) var67) &
- 0xff);
+ var69.i =
+ ((var68 & 0xff) << 24) | ((var68 & 0xff) << 16) | ((var68 & 0xff) << 8)
+ | (var68 & 0xff);
/* 25: mergelq */
{
orc_union64 _dest;
- _dest.x2[0] = var68.i;
- _dest.x2[1] = var68.i;
- var69.i = _dest.i;
+ _dest.x2[0] = var69.i;
+ _dest.x2[1] = var69.i;
+ var70.i = _dest.i;
}
/* 26: mulhsw */
- var70.x4[0] = (var69.x4[0] * var49.x4[0]) >> 16;
- var70.x4[1] = (var69.x4[1] * var49.x4[1]) >> 16;
- var70.x4[2] = (var69.x4[2] * var49.x4[2]) >> 16;
- var70.x4[3] = (var69.x4[3] * var49.x4[3]) >> 16;
+ var71.x4[0] = (var70.x4[0] * var50.x4[0]) >> 16;
+ var71.x4[1] = (var70.x4[1] * var50.x4[1]) >> 16;
+ var71.x4[2] = (var70.x4[2] * var50.x4[2]) >> 16;
+ var71.x4[3] = (var70.x4[3] * var50.x4[3]) >> 16;
/* 27: addssw */
- var71.x4[0] = ORC_CLAMP_SW (var66.x4[0] + var70.x4[0]);
- var71.x4[1] = ORC_CLAMP_SW (var66.x4[1] + var70.x4[1]);
- var71.x4[2] = ORC_CLAMP_SW (var66.x4[2] + var70.x4[2]);
- var71.x4[3] = ORC_CLAMP_SW (var66.x4[3] + var70.x4[3]);
+ var72.x4[0] = ORC_CLAMP_SW (var67.x4[0] + var71.x4[0]);
+ var72.x4[1] = ORC_CLAMP_SW (var67.x4[1] + var71.x4[1]);
+ var72.x4[2] = ORC_CLAMP_SW (var67.x4[2] + var71.x4[2]);
+ var72.x4[3] = ORC_CLAMP_SW (var67.x4[3] + var71.x4[3]);
/* 28: convssswb */
- var72.x4[0] = ORC_CLAMP_SB (var71.x4[0]);
- var72.x4[1] = ORC_CLAMP_SB (var71.x4[1]);
- var72.x4[2] = ORC_CLAMP_SB (var71.x4[2]);
- var72.x4[3] = ORC_CLAMP_SB (var71.x4[3]);
- /* 29: addb */
- var46.x4[0] = var72.x4[0] + var44.x4[0];
- var46.x4[1] = var72.x4[1] + var44.x4[1];
- var46.x4[2] = var72.x4[2] + var44.x4[2];
- var46.x4[3] = var72.x4[3] + var44.x4[3];
- /* 30: storel */
- ptr0[i] = var46;
+ var73.x4[0] = ORC_CLAMP_SB (var72.x4[0]);
+ var73.x4[1] = ORC_CLAMP_SB (var72.x4[1]);
+ var73.x4[2] = ORC_CLAMP_SB (var72.x4[2]);
+ var73.x4[3] = ORC_CLAMP_SB (var72.x4[3]);
+ /* 30: addb */
+ var47.x4[0] = var73.x4[0] + var46.x4[0];
+ var47.x4[1] = var73.x4[1] + var46.x4[1];
+ var47.x4[2] = var73.x4[2] + var46.x4[2];
+ var47.x4[3] = var73.x4[3] + var46.x4[3];
+ /* 31: storel */
+ ptr0[i] = var47;
}
}
#else
orc_union64 var45;
#endif
+#if defined(__APPLE__) && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && defined (__i386__)
+ volatile orc_union32 var46;
+#else
orc_union32 var46;
- orc_union64 var47;
+#endif
+ orc_union32 var47;
orc_union64 var48;
orc_union64 var49;
- orc_union32 var50;
- orc_union16 var51;
+ orc_union64 var50;
+ orc_union32 var51;
orc_union16 var52;
- orc_int8 var53;
+ orc_union16 var53;
orc_int8 var54;
- orc_union32 var55;
- orc_union64 var56;
+ orc_int8 var55;
+ orc_union32 var56;
orc_union64 var57;
- orc_union32 var58;
- orc_union64 var59;
+ orc_union64 var58;
+ orc_union32 var59;
orc_union64 var60;
orc_union64 var61;
- orc_int8 var62;
- orc_union32 var63;
- orc_union64 var64;
+ orc_union64 var62;
+ orc_int8 var63;
+ orc_union32 var64;
orc_union64 var65;
orc_union64 var66;
- orc_int8 var67;
- orc_union32 var68;
- orc_union64 var69;
+ orc_union64 var67;
+ orc_int8 var68;
+ orc_union32 var69;
orc_union64 var70;
orc_union64 var71;
- orc_union32 var72;
+ orc_union64 var72;
+ orc_union32 var73;
ptr0 = (orc_union32 *) ex->arrays[0];
ptr4 = (orc_union32 *) ex->arrays[4];
/* 0: loadpq */
- var47.i =
+ var48.i =
(ex->params[24] & 0xffffffff) | ((orc_uint64) (ex->params[24 +
(ORC_VAR_T1 - ORC_VAR_P1)]) << 32);
/* 1: loadpq */
- var48.i =
+ var49.i =
(ex->params[25] & 0xffffffff) | ((orc_uint64) (ex->params[25 +
(ORC_VAR_T1 - ORC_VAR_P1)]) << 32);
/* 2: loadpq */
- var49.i =
+ var50.i =
(ex->params[26] & 0xffffffff) | ((orc_uint64) (ex->params[26 +
(ORC_VAR_T1 - ORC_VAR_P1)]) << 32);
/* 4: loadpb */
var44.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
var44.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
/* 12: loadpq */
- var45.i = ORC_UINT64_C (0x00000000000000ff); /* 1.25987e-321f */
+ var45.i = (int) 0x000000ff; /* 255 or 1.25987e-321f */
+ /* 29: loadpb */
+ var46.x4[0] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var46.x4[1] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var46.x4[2] = (int) 0x00000080; /* 128 or 6.32404e-322f */
+ var46.x4[3] = (int) 0x00000080; /* 128 or 6.32404e-322f */
for (i = 0; i < n; i++) {
/* 3: loadl */
var43 = ptr4[i];
/* 5: subb */
- var50.x4[0] = var43.x4[0] - var44.x4[0];
- var50.x4[1] = var43.x4[1] - var44.x4[1];
- var50.x4[2] = var43.x4[2] - var44.x4[2];
- var50.x4[3] = var43.x4[3] - var44.x4[3];
+ var51.x4[0] = var43.x4[0] - var44.x4[0];
+ var51.x4[1] = var43.x4[1] - var44.x4[1];
+ var51.x4[2] = var43.x4[2] - var44.x4[2];
+ var51.x4[3] = var43.x4[3] - var44.x4[3];
/* 6: select0lw */
{
orc_union32 _src;
- _src.i = var50.i;
- var51.i = _src.x2[0];
+ _src.i = var51.i;
+ var52.i = _src.x2[0];
}
/* 7: select1lw */
{
orc_union32 _src;
- _src.i = var50.i;
- var52.i = _src.x2[1];
+ _src.i = var51.i;
+ var53.i = _src.x2[1];
}
/* 8: select0wb */
{
orc_union16 _src;
- _src.i = var51.i;
- var53 = _src.x2[0];
+ _src.i = var52.i;
+ var54 = _src.x2[0];
}
/* 9: select1wb */
{
orc_union16 _src;
- _src.i = var51.i;
- var54 = _src.x2[1];
+ _src.i = var52.i;
+ var55 = _src.x2[1];
}
/* 10: splatbl */
- var55.i =
- ((((orc_uint32) var53) & 0xff) << 24) | ((((orc_uint32) var53) & 0xff)
- << 16) | ((((orc_uint32) var53) & 0xff) << 8) | (((orc_uint32) var53) &
- 0xff);
+ var56.i =
+ ((var54 & 0xff) << 24) | ((var54 & 0xff) << 16) | ((var54 & 0xff) << 8)
+ | (var54 & 0xff);
/* 11: mergelq */
{
orc_union64 _dest;
- _dest.x2[0] = var55.i;
- _dest.x2[1] = var55.i;
- var56.i = _dest.i;
+ _dest.x2[0] = var56.i;
+ _dest.x2[1] = var56.i;
+ var57.i = _dest.i;
}
/* 13: andq */
- var57.i = var56.i & var45.i;
+ var58.i = var57.i & var45.i;
/* 14: splatbl */
- var58.i =
- ((((orc_uint32) var54) & 0xff) << 24) | ((((orc_uint32) var54) & 0xff)
- << 16) | ((((orc_uint32) var54) & 0xff) << 8) | (((orc_uint32) var54) &
- 0xff);
+ var59.i =
+ ((var55 & 0xff) << 24) | ((var55 & 0xff) << 16) | ((var55 & 0xff) << 8)
+ | (var55 & 0xff);
/* 15: mergelq */
{
orc_union64 _dest;
- _dest.x2[0] = var58.i;
- _dest.x2[1] = var58.i;
- var59.i = _dest.i;
+ _dest.x2[0] = var59.i;
+ _dest.x2[1] = var59.i;
+ var60.i = _dest.i;
}
/* 16: mulhsw */
- var60.x4[0] = (var59.x4[0] * var47.x4[0]) >> 16;
- var60.x4[1] = (var59.x4[1] * var47.x4[1]) >> 16;
- var60.x4[2] = (var59.x4[2] * var47.x4[2]) >> 16;
- var60.x4[3] = (var59.x4[3] * var47.x4[3]) >> 16;
+ var61.x4[0] = (var60.x4[0] * var48.x4[0]) >> 16;
+ var61.x4[1] = (var60.x4[1] * var48.x4[1]) >> 16;
+ var61.x4[2] = (var60.x4[2] * var48.x4[2]) >> 16;
+ var61.x4[3] = (var60.x4[3] * var48.x4[3]) >> 16;
/* 17: addssw */
- var61.x4[0] = ORC_CLAMP_SW (var57.x4[0] + var60.x4[0]);
- var61.x4[1] = ORC_CLAMP_SW (var57.x4[1] + var60.x4[1]);
- var61.x4[2] = ORC_CLAMP_SW (var57.x4[2] + var60.x4[2]);
- var61.x4[3] = ORC_CLAMP_SW (var57.x4[3] + var60.x4[3]);
+ var62.x4[0] = ORC_CLAMP_SW (var58.x4[0] + var61.x4[0]);
+ var62.x4[1] = ORC_CLAMP_SW (var58.x4[1] + var61.x4[1]);
+ var62.x4[2] = ORC_CLAMP_SW (var58.x4[2] + var61.x4[2]);
+ var62.x4[3] = ORC_CLAMP_SW (var58.x4[3] + var61.x4[3]);
/* 18: select0wb */
{
orc_union16 _src;
- _src.i = var52.i;
- var62 = _src.x2[0];
+ _src.i = var53.i;
+ var63 = _src.x2[0];
}
/* 19: splatbl */
- var63.i =
- ((((orc_uint32) var62) & 0xff) << 24) | ((((orc_uint32) var62) & 0xff)
- << 16) | ((((orc_uint32) var62) & 0xff) << 8) | (((orc_uint32) var62) &
- 0xff);
+ var64.i =
+ ((var63 & 0xff) << 24) | ((var63 & 0xff) << 16) | ((var63 & 0xff) << 8)
+ | (var63 & 0xff);
/* 20: mergelq */
{
orc_union64 _dest;
- _dest.x2[0] = var63.i;
- _dest.x2[1] = var63.i;
- var64.i = _dest.i;
+ _dest.x2[0] = var64.i;
+ _dest.x2[1] = var64.i;
+ var65.i = _dest.i;
}
/* 21: mulhsw */
- var65.x4[0] = (var64.x4[0] * var48.x4[0]) >> 16;
- var65.x4[1] = (var64.x4[1] * var48.x4[1]) >> 16;
- var65.x4[2] = (var64.x4[2] * var48.x4[2]) >> 16;
- var65.x4[3] = (var64.x4[3] * var48.x4[3]) >> 16;
+ var66.x4[0] = (var65.x4[0] * var49.x4[0]) >> 16;
+ var66.x4[1] = (var65.x4[1] * var49.x4[1]) >> 16;
+ var66.x4[2] = (var65.x4[2] * var49.x4[2]) >> 16;
+ var66.x4[3] = (var65.x4[3] * var49.x4[3]) >> 16;
/* 22: addssw */
- var66.x4[0] = ORC_CLAMP_SW (var61.x4[0] + var65.x4[0]);
- var66.x4[1] = ORC_CLAMP_SW (var61.x4[1] + var65.x4[1]);
- var66.x4[2] = ORC_CLAMP_SW (var61.x4[2] + var65.x4[2]);
- var66.x4[3] = ORC_CLAMP_SW (var61.x4[3] + var65.x4[3]);
+ var67.x4[0] = ORC_CLAMP_SW (var62.x4[0] + var66.x4[0]);
+ var67.x4[1] = ORC_CLAMP_SW (var62.x4[1] + var66.x4[1]);
+ var67.x4[2] = ORC_CLAMP_SW (var62.x4[2] + var66.x4[2]);
+ var67.x4[3] = ORC_CLAMP_SW (var62.x4[3] + var66.x4[3]);
/* 23: select1wb */
{
orc_union16 _src;
- _src.i = var52.i;
- var67 = _src.x2[1];
+ _src.i = var53.i;
+ var68 = _src.x2[1];
}
/* 24: splatbl */
- var68.i =
- ((((orc_uint32) var67) & 0xff) << 24) | ((((orc_uint32) var67) & 0xff)
- << 16) | ((((orc_uint32) var67) & 0xff) << 8) | (((orc_uint32) var67) &
- 0xff);
+ var69.i =
+ ((var68 & 0xff) << 24) | ((var68 & 0xff) << 16) | ((var68 & 0xff) << 8)
+ | (var68 & 0xff);
/* 25: mergelq */
{
orc_union64 _dest;
- _dest.x2[0] = var68.i;
- _dest.x2[1] = var68.i;
- var69.i = _dest.i;
+ _dest.x2[0] = var69.i;
+ _dest.x2[1] = var69.i;
+ var70.i = _dest.i;
}
/* 26: mulhsw */
- var70.x4[0] = (var69.x4[0] * var49.x4[0]) >> 16;
- var70.x4[1] = (var69.x4[1] * var49.x4[1]) >> 16;
- var70.x4[2] = (var69.x4[2] * var49.x4[2]) >> 16;
- var70.x4[3] = (var69.x4[3] * var49.x4[3]) >> 16;
+ var71.x4[0] = (var70.x4[0] * var50.x4[0]) >> 16;
+ var71.x4[1] = (var70.x4[1] * var50.x4[1]) >> 16;
+ var71.x4[2] = (var70.x4[2] * var50.x4[2]) >> 16;
+ var71.x4[3] = (var70.x4[3] * var50.x4[3]) >> 16;
/* 27: addssw */
- var71.x4[0] = ORC_CLAMP_SW (var66.x4[0] + var70.x4[0]);
- var71.x4[1] = ORC_CLAMP_SW (var66.x4[1] + var70.x4[1]);
- var71.x4[2] = ORC_CLAMP_SW (var66.x4[2] + var70.x4[2]);
- var71.x4[3] = ORC_CLAMP_SW (var66.x4[3] + var70.x4[3]);
+ var72.x4[0] = ORC_CLAMP_SW (var67.x4[0] + var71.x4[0]);
+ var72.x4[1] = ORC_CLAMP_SW (var67.x4[1] + var71.x4[1]);
+ var72.x4[2] = ORC_CLAMP_SW (var67.x4[2] + var71.x4[2]);
+ var72.x4[3] = ORC_CLAMP_SW (var67.x4[3] + var71.x4[3]);
/* 28: convssswb */
- var72.x4[0] = ORC_CLAMP_SB (var71.x4[0]);
- var72.x4[1] = ORC_CLAMP_SB (var71.x4[1]);
- var72.x4[2] = ORC_CLAMP_SB (var71.x4[2]);
- var72.x4[3] = ORC_CLAMP_SB (var71.x4[3]);
- /* 29: addb */
- var46.x4[0] = var72.x4[0] + var44.x4[0];
- var46.x4[1] = var72.x4[1] + var44.x4[1];
- var46.x4[2] = var72.x4[2] + var44.x4[2];
- var46.x4[3] = var72.x4[3] + var44.x4[3];
- /* 30: storel */
- ptr0[i] = var46;
+ var73.x4[0] = ORC_CLAMP_SB (var72.x4[0]);
+ var73.x4[1] = ORC_CLAMP_SB (var72.x4[1]);
+ var73.x4[2] = ORC_CLAMP_SB (var72.x4[2]);
+ var73.x4[3] = ORC_CLAMP_SB (var72.x4[3]);
+ /* 30: addb */
+ var47.x4[0] = var73.x4[0] + var46.x4[0];
+ var47.x4[1] = var73.x4[1] + var46.x4[1];
+ var47.x4[2] = var73.x4[2] + var46.x4[2];
+ var47.x4[3] = var73.x4[3] + var46.x4[3];
+ /* 31: storel */
+ ptr0[i] = var47;
}
}
static const orc_uint8 bc[] = {
1, 9, 17, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 109, 97, 116,
114, 105, 120, 56, 11, 4, 4, 12, 4, 4, 14, 1, 128, 0, 0, 0,
- 15, 8, 255, 0, 0, 0, 0, 0, 0, 0, 18, 8, 18, 8, 18, 8,
- 20, 2, 20, 2, 20, 1, 20, 1, 20, 4, 20, 4, 20, 8, 20, 8,
- 20, 8, 20, 8, 20, 8, 134, 40, 24, 134, 41, 25, 134, 42, 26, 21,
- 2, 65, 36, 4, 16, 190, 32, 36, 191, 33, 36, 188, 34, 32, 189, 35,
- 32, 152, 36, 34, 194, 38, 36, 36, 140, 38, 38, 17, 152, 36, 35, 194,
- 39, 36, 36, 21, 2, 90, 39, 39, 40, 21, 2, 71, 38, 38, 39, 188,
- 34, 33, 152, 36, 34, 194, 39, 36, 36, 21, 2, 90, 39, 39, 41, 21,
- 2, 71, 38, 38, 39, 189, 35, 33, 152, 36, 35, 194, 39, 36, 36, 21,
- 2, 90, 39, 39, 42, 21, 2, 71, 38, 38, 39, 21, 2, 159, 37, 38,
- 21, 2, 33, 0, 37, 16, 2, 0,
+ 14, 4, 255, 0, 0, 0, 18, 8, 18, 8, 18, 8, 20, 2, 20, 2,
+ 20, 1, 20, 1, 20, 4, 20, 4, 20, 8, 20, 8, 20, 8, 20, 8,
+ 20, 8, 134, 40, 24, 134, 41, 25, 134, 42, 26, 21, 2, 65, 36, 4,
+ 16, 190, 32, 36, 191, 33, 36, 188, 34, 32, 189, 35, 32, 152, 36, 34,
+ 194, 38, 36, 36, 140, 38, 38, 17, 152, 36, 35, 194, 39, 36, 36, 21,
+ 2, 90, 39, 39, 40, 21, 2, 71, 38, 38, 39, 188, 34, 33, 152, 36,
+ 34, 194, 39, 36, 36, 21, 2, 90, 39, 39, 41, 21, 2, 71, 38, 38,
+ 39, 189, 35, 33, 152, 36, 35, 194, 39, 36, 36, 21, 2, 90, 39, 39,
+ 42, 21, 2, 71, 38, 38, 39, 21, 2, 159, 37, 38, 21, 2, 33, 0,
+ 37, 16, 2, 0,
};
p = orc_program_new_from_static_bytecode (bc);
orc_program_set_backup_function (p, _backup_video_orc_matrix8);
orc_program_add_destination (p, 4, "d1");
orc_program_add_source (p, 4, "s1");
orc_program_add_constant (p, 1, 0x00000080, "c1");
- orc_program_add_constant_int64 (p, 8, 0x00000000000000ffULL, "c2");
+ orc_program_add_constant (p, 4, 0x000000ff, "c2");
orc_program_add_parameter_int64 (p, 8, "p1");
orc_program_add_parameter_int64 (p, 8, "p2");
orc_program_add_parameter_int64 (p, 8, "p3");
static const orc_uint8 bc[] = {
1, 9, 30, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
97, 109, 112, 108, 101, 95, 118, 95, 50, 116, 97, 112, 95, 56, 95, 108,
- 113, 11, 1, 1, 12, 1, 1, 12, 1, 1, 14, 2, 128, 0, 0, 0,
+ 113, 11, 1, 1, 12, 1, 1, 12, 1, 1, 14, 4, 128, 0, 0, 0,
16, 2, 20, 1, 20, 2, 20, 2, 150, 33, 4, 150, 34, 5, 98, 34,
34, 33, 89, 34, 34, 24, 70, 34, 34, 16, 158, 32, 34, 33, 0, 32,
4, 2, 0,
orc_program_add_destination (p, 1, "d1");
orc_program_add_source (p, 1, "s1");
orc_program_add_source (p, 1, "s2");
- orc_program_add_constant (p, 2, 0x00000080, "c1");
+ orc_program_add_constant (p, 4, 0x00000080, "c1");
orc_program_add_parameter (p, 2, "p1");
orc_program_add_temporary (p, 1, "t1");
orc_program_add_temporary (p, 2, "t2");
/* 6: mulswl */
var45.i = var44.i * var39.i;
/* 8: addl */
- var46.i = ((orc_uint32) var45.i) + ((orc_uint32) var40.i);
+ var46.i = var45.i + var40.i;
/* 9: shrsl */
var47.i = var46.i >> 12;
/* 10: convlw */
/* 6: mulswl */
var45.i = var44.i * var39.i;
/* 8: addl */
- var46.i = ((orc_uint32) var45.i) + ((orc_uint32) var40.i);
+ var46.i = var45.i + var40.i;
/* 9: shrsl */
var47.i = var46.i >> 12;
/* 10: convlw */
1, 9, 30, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
97, 109, 112, 108, 101, 95, 118, 95, 52, 116, 97, 112, 95, 56, 95, 108,
113, 11, 1, 1, 12, 1, 1, 12, 1, 1, 12, 1, 1, 12, 1, 1,
- 14, 2, 32, 0, 0, 0, 14, 2, 6, 0, 0, 0, 16, 2, 16, 2,
+ 14, 4, 32, 0, 0, 0, 14, 4, 6, 0, 0, 0, 16, 2, 16, 2,
16, 2, 16, 2, 20, 2, 20, 2, 150, 32, 4, 89, 32, 32, 24, 150,
33, 5, 89, 33, 33, 25, 70, 32, 32, 33, 150, 33, 6, 89, 33, 33,
26, 70, 32, 32, 33, 150, 33, 7, 89, 33, 33, 27, 70, 32, 32, 33,
orc_program_add_source (p, 1, "s2");
orc_program_add_source (p, 1, "s3");
orc_program_add_source (p, 1, "s4");
- orc_program_add_constant (p, 2, 0x00000020, "c1");
- orc_program_add_constant (p, 2, 0x00000006, "c2");
+ orc_program_add_constant (p, 4, 0x00000020, "c1");
+ orc_program_add_constant (p, 4, 0x00000006, "c2");
orc_program_add_parameter (p, 2, "p1");
orc_program_add_parameter (p, 2, "p2");
orc_program_add_parameter (p, 2, "p3");
/* 7: mulswl */
var49.i = var48.i * var39.i;
/* 8: addl */
- var50.i = ((orc_uint32) var47.i) + ((orc_uint32) var49.i);
+ var50.i = var47.i + var49.i;
/* 9: loadb */
var40 = ptr6[i];
/* 10: convubw */
/* 12: mulswl */
var52.i = var51.i * var41.i;
/* 13: addl */
- var53.i = ((orc_uint32) var50.i) + ((orc_uint32) var52.i);
+ var53.i = var50.i + var52.i;
/* 14: loadb */
var42 = ptr7[i];
/* 15: convubw */
/* 17: mulswl */
var55.i = var54.i * var43.i;
/* 18: addl */
- var56.i = ((orc_uint32) var53.i) + ((orc_uint32) var55.i);
+ var56.i = var53.i + var55.i;
/* 20: addl */
- var57.i = ((orc_uint32) var56.i) + ((orc_uint32) var44.i);
+ var57.i = var56.i + var44.i;
/* 21: shrsl */
var58.i = var57.i >> 12;
/* 22: convlw */
/* 7: mulswl */
var49.i = var48.i * var39.i;
/* 8: addl */
- var50.i = ((orc_uint32) var47.i) + ((orc_uint32) var49.i);
+ var50.i = var47.i + var49.i;
/* 9: loadb */
var40 = ptr6[i];
/* 10: convubw */
/* 12: mulswl */
var52.i = var51.i * var41.i;
/* 13: addl */
- var53.i = ((orc_uint32) var50.i) + ((orc_uint32) var52.i);
+ var53.i = var50.i + var52.i;
/* 14: loadb */
var42 = ptr7[i];
/* 15: convubw */
/* 17: mulswl */
var55.i = var54.i * var43.i;
/* 18: addl */
- var56.i = ((orc_uint32) var53.i) + ((orc_uint32) var55.i);
+ var56.i = var53.i + var55.i;
/* 20: addl */
- var57.i = ((orc_uint32) var56.i) + ((orc_uint32) var44.i);
+ var57.i = var56.i + var44.i;
/* 21: shrsl */
var58.i = var57.i >> 12;
/* 22: convlw */
/* 7: mulswl */
var49.i = var48.i * var39.i;
/* 8: addl */
- var50.i = ((orc_uint32) var47.i) + ((orc_uint32) var49.i);
+ var50.i = var47.i + var49.i;
/* 9: loadb */
var40 = ptr6[i];
/* 10: convubw */
/* 12: mulswl */
var52.i = var51.i * var41.i;
/* 13: addl */
- var53.i = ((orc_uint32) var50.i) + ((orc_uint32) var52.i);
+ var53.i = var50.i + var52.i;
/* 14: loadb */
var42 = ptr7[i];
/* 15: convubw */
/* 17: mulswl */
var55.i = var54.i * var43.i;
/* 18: addl */
- var56.i = ((orc_uint32) var53.i) + ((orc_uint32) var55.i);
+ var56.i = var53.i + var55.i;
/* 20: addl */
- var57.i = ((orc_uint32) var56.i) + ((orc_uint32) var44.i);
+ var57.i = var56.i + var44.i;
/* 21: shrsl */
var58.i = var57.i >> 12;
/* 22: convlw */
/* 7: mulswl */
var49.i = var48.i * var39.i;
/* 8: addl */
- var50.i = ((orc_uint32) var47.i) + ((orc_uint32) var49.i);
+ var50.i = var47.i + var49.i;
/* 9: loadb */
var40 = ptr6[i];
/* 10: convubw */
/* 12: mulswl */
var52.i = var51.i * var41.i;
/* 13: addl */
- var53.i = ((orc_uint32) var50.i) + ((orc_uint32) var52.i);
+ var53.i = var50.i + var52.i;
/* 14: loadb */
var42 = ptr7[i];
/* 15: convubw */
/* 17: mulswl */
var55.i = var54.i * var43.i;
/* 18: addl */
- var56.i = ((orc_uint32) var53.i) + ((orc_uint32) var55.i);
+ var56.i = var53.i + var55.i;
/* 20: addl */
- var57.i = ((orc_uint32) var56.i) + ((orc_uint32) var44.i);
+ var57.i = var56.i + var44.i;
/* 21: shrsl */
var58.i = var57.i >> 12;
/* 22: convlw */
/* 4: loadl */
var36 = ptr0[i];
/* 5: addl */
- var37.i = ((orc_uint32) var36.i) + ((orc_uint32) var39.i);
+ var37.i = var36.i + var39.i;
/* 6: storel */
ptr0[i] = var37;
}
/* 4: loadl */
var36 = ptr0[i];
/* 5: addl */
- var37.i = ((orc_uint32) var36.i) + ((orc_uint32) var39.i);
+ var37.i = var36.i + var39.i;
/* 6: storel */
ptr0[i] = var37;
}
#endif
-/* video_orc_resample_h_scaletaps_8 */
+/* video_orc_resample_scaletaps_8 */
#ifdef DISABLE_ORC
void
-video_orc_resample_h_scaletaps_8 (guint8 * ORC_RESTRICT d1,
+video_orc_resample_scaletaps_8 (guint8 * ORC_RESTRICT d1,
const gint32 * ORC_RESTRICT s1, int n)
{
int i;
/* 0: loadl */
var34 = ptr4[i];
/* 2: addl */
- var37.i = ((orc_uint32) var34.i) + ((orc_uint32) var35.i);
+ var37.i = var34.i + var35.i;
/* 3: shrsl */
var38.i = var37.i >> 12;
/* 4: convlw */
#else
static void
-_backup_video_orc_resample_h_scaletaps_8 (OrcExecutor * ORC_RESTRICT ex)
+_backup_video_orc_resample_scaletaps_8 (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
/* 0: loadl */
var34 = ptr4[i];
/* 2: addl */
- var37.i = ((orc_uint32) var34.i) + ((orc_uint32) var35.i);
+ var37.i = var34.i + var35.i;
/* 3: shrsl */
var38.i = var37.i >> 12;
/* 4: convlw */
}
void
-video_orc_resample_h_scaletaps_8 (guint8 * ORC_RESTRICT d1,
+video_orc_resample_scaletaps_8 (guint8 * ORC_RESTRICT d1,
const gint32 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
#if 1
static const orc_uint8 bc[] = {
- 1, 9, 32, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
- 97, 109, 112, 108, 101, 95, 104, 95, 115, 99, 97, 108, 101, 116, 97,
- 112,
- 115, 95, 56, 11, 1, 1, 12, 4, 4, 14, 4, 255, 15, 0, 0, 14,
- 4, 12, 0, 0, 0, 20, 2, 20, 4, 103, 33, 4, 16, 125, 33, 33,
- 17, 163, 32, 33, 160, 0, 32, 2, 0,
+ 1, 9, 30, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
+ 97, 109, 112, 108, 101, 95, 115, 99, 97, 108, 101, 116, 97, 112, 115,
+ 95,
+ 56, 11, 1, 1, 12, 4, 4, 14, 4, 255, 15, 0, 0, 14, 4, 12,
+ 0, 0, 0, 20, 2, 20, 4, 103, 33, 4, 16, 125, 33, 33, 17, 163,
+ 32, 33, 160, 0, 32, 2, 0,
};
p = orc_program_new_from_static_bytecode (bc);
orc_program_set_backup_function (p,
- _backup_video_orc_resample_h_scaletaps_8);
+ _backup_video_orc_resample_scaletaps_8);
#else
p = orc_program_new ();
- orc_program_set_name (p, "video_orc_resample_h_scaletaps_8");
+ orc_program_set_name (p, "video_orc_resample_scaletaps_8");
orc_program_set_backup_function (p,
- _backup_video_orc_resample_h_scaletaps_8);
+ _backup_video_orc_resample_scaletaps_8);
orc_program_add_destination (p, 1, "d1");
orc_program_add_source (p, 4, "s1");
orc_program_add_constant (p, 4, 0x00000fff, "c1");
#endif
-/* video_orc_resample_h_scaletaps_8_lq */
+/* video_orc_resample_scaletaps_8_lq */
#ifdef DISABLE_ORC
void
-video_orc_resample_h_scaletaps_8_lq (guint8 * ORC_RESTRICT d1,
+video_orc_resample_scaletaps_8_lq (guint8 * ORC_RESTRICT d1,
const gint32 * ORC_RESTRICT s1, int n)
{
int i;
#else
static void
-_backup_video_orc_resample_h_scaletaps_8_lq (OrcExecutor * ORC_RESTRICT ex)
+_backup_video_orc_resample_scaletaps_8_lq (OrcExecutor * ORC_RESTRICT ex)
{
int i;
int n = ex->n;
}
void
-video_orc_resample_h_scaletaps_8_lq (guint8 * ORC_RESTRICT d1,
+video_orc_resample_scaletaps_8_lq (guint8 * ORC_RESTRICT d1,
const gint32 * ORC_RESTRICT s1, int n)
{
OrcExecutor _ex, *ex = &_ex;
#if 1
static const orc_uint8 bc[] = {
- 1, 9, 35, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
- 97, 109, 112, 108, 101, 95, 104, 95, 115, 99, 97, 108, 101, 116, 97,
- 112,
- 115, 95, 56, 95, 108, 113, 11, 1, 1, 12, 2, 2, 14, 2, 32, 0,
- 0, 0, 14, 2, 6, 0, 0, 0, 20, 2, 70, 32, 4, 16, 94, 32,
- 32, 17, 160, 0, 32, 2, 0,
+ 1, 9, 33, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
+ 97, 109, 112, 108, 101, 95, 115, 99, 97, 108, 101, 116, 97, 112, 115,
+ 95,
+ 56, 95, 108, 113, 11, 1, 1, 12, 2, 2, 14, 4, 32, 0, 0, 0,
+ 14, 4, 6, 0, 0, 0, 20, 2, 70, 32, 4, 16, 94, 32, 32, 17,
+ 160, 0, 32, 2, 0,
};
p = orc_program_new_from_static_bytecode (bc);
orc_program_set_backup_function (p,
- _backup_video_orc_resample_h_scaletaps_8_lq);
+ _backup_video_orc_resample_scaletaps_8_lq);
#else
p = orc_program_new ();
- orc_program_set_name (p, "video_orc_resample_h_scaletaps_8_lq");
+ orc_program_set_name (p, "video_orc_resample_scaletaps_8_lq");
orc_program_set_backup_function (p,
- _backup_video_orc_resample_h_scaletaps_8_lq);
+ _backup_video_orc_resample_scaletaps_8_lq);
orc_program_add_destination (p, 1, "d1");
orc_program_add_source (p, 2, "s1");
- orc_program_add_constant (p, 2, 0x00000020, "c1");
- orc_program_add_constant (p, 2, 0x00000006, "c2");
+ orc_program_add_constant (p, 4, 0x00000020, "c1");
+ orc_program_add_constant (p, 4, 0x00000006, "c2");
orc_program_add_temporary (p, 2, "t1");
orc_program_append_2 (p, "addw", 0, ORC_VAR_T1, ORC_VAR_S1, ORC_VAR_C1,
func (ex);
}
#endif
+
+
+/* video_orc_resample_v_multaps_8 */
+#ifdef DISABLE_ORC
+void
+video_orc_resample_v_multaps_8 (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n)
+{
+ int i;
+ orc_union32 *ORC_RESTRICT ptr0;
+ const orc_int8 *ORC_RESTRICT ptr4;
+ orc_int8 var33;
+ orc_union16 var34;
+ orc_union32 var35;
+ orc_union16 var36;
+
+ ptr0 = (orc_union32 *) d1;
+ ptr4 = (orc_int8 *) s1;
+
+ /* 2: loadpw */
+ var34.i = p1;
+
+ for (i = 0; i < n; i++) {
+ /* 0: loadb */
+ var33 = ptr4[i];
+ /* 1: convubw */
+ var36.i = (orc_uint8) var33;
+ /* 3: mulswl */
+ var35.i = var36.i * var34.i;
+ /* 4: storel */
+ ptr0[i] = var35;
+ }
+
+}
+
+#else
+static void
+_backup_video_orc_resample_v_multaps_8 (OrcExecutor * ORC_RESTRICT ex)
+{
+ int i;
+ int n = ex->n;
+ orc_union32 *ORC_RESTRICT ptr0;
+ const orc_int8 *ORC_RESTRICT ptr4;
+ orc_int8 var33;
+ orc_union16 var34;
+ orc_union32 var35;
+ orc_union16 var36;
+
+ ptr0 = (orc_union32 *) ex->arrays[0];
+ ptr4 = (orc_int8 *) ex->arrays[4];
+
+ /* 2: loadpw */
+ var34.i = ex->params[24];
+
+ for (i = 0; i < n; i++) {
+ /* 0: loadb */
+ var33 = ptr4[i];
+ /* 1: convubw */
+ var36.i = (orc_uint8) var33;
+ /* 3: mulswl */
+ var35.i = var36.i * var34.i;
+ /* 4: storel */
+ ptr0[i] = var35;
+ }
+
+}
+
+void
+video_orc_resample_v_multaps_8 (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n)
+{
+ OrcExecutor _ex, *ex = &_ex;
+ static volatile int p_inited = 0;
+ static OrcCode *c = 0;
+ void (*func) (OrcExecutor *);
+
+ if (!p_inited) {
+ orc_once_mutex_lock ();
+ if (!p_inited) {
+ OrcProgram *p;
+
+#if 1
+ static const orc_uint8 bc[] = {
+ 1, 9, 30, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
+ 97, 109, 112, 108, 101, 95, 118, 95, 109, 117, 108, 116, 97, 112, 115,
+ 95,
+ 56, 11, 4, 4, 12, 1, 1, 16, 2, 20, 2, 150, 32, 4, 176, 0,
+ 32, 24, 2, 0,
+ };
+ p = orc_program_new_from_static_bytecode (bc);
+ orc_program_set_backup_function (p,
+ _backup_video_orc_resample_v_multaps_8);
+#else
+ p = orc_program_new ();
+ orc_program_set_name (p, "video_orc_resample_v_multaps_8");
+ orc_program_set_backup_function (p,
+ _backup_video_orc_resample_v_multaps_8);
+ orc_program_add_destination (p, 4, "d1");
+ orc_program_add_source (p, 1, "s1");
+ orc_program_add_parameter (p, 2, "p1");
+ orc_program_add_temporary (p, 2, "t1");
+
+ orc_program_append_2 (p, "convubw", 0, ORC_VAR_T1, ORC_VAR_S1, ORC_VAR_D1,
+ ORC_VAR_D1);
+ orc_program_append_2 (p, "mulswl", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_P1,
+ ORC_VAR_D1);
+#endif
+
+ orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
+ }
+ p_inited = TRUE;
+ orc_once_mutex_unlock ();
+ }
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
+
+ ex->n = n;
+ ex->arrays[ORC_VAR_D1] = d1;
+ ex->arrays[ORC_VAR_S1] = (void *) s1;
+ ex->params[ORC_VAR_P1] = p1;
+
+ func = c->exec;
+ func (ex);
+}
+#endif
+
+
+/* video_orc_resample_v_muladdtaps_8 */
+#ifdef DISABLE_ORC
+void
+video_orc_resample_v_muladdtaps_8 (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n)
+{
+ int i;
+ orc_union32 *ORC_RESTRICT ptr0;
+ const orc_int8 *ORC_RESTRICT ptr4;
+ orc_int8 var34;
+ orc_union16 var35;
+ orc_union32 var36;
+ orc_union32 var37;
+ orc_union16 var38;
+ orc_union32 var39;
+
+ ptr0 = (orc_union32 *) d1;
+ ptr4 = (orc_int8 *) s1;
+
+ /* 2: loadpw */
+ var35.i = p1;
+
+ for (i = 0; i < n; i++) {
+ /* 0: loadb */
+ var34 = ptr4[i];
+ /* 1: convubw */
+ var38.i = (orc_uint8) var34;
+ /* 3: mulswl */
+ var39.i = var38.i * var35.i;
+ /* 4: loadl */
+ var36 = ptr0[i];
+ /* 5: addl */
+ var37.i = var36.i + var39.i;
+ /* 6: storel */
+ ptr0[i] = var37;
+ }
+
+}
+
+#else
+static void
+_backup_video_orc_resample_v_muladdtaps_8 (OrcExecutor * ORC_RESTRICT ex)
+{
+ int i;
+ int n = ex->n;
+ orc_union32 *ORC_RESTRICT ptr0;
+ const orc_int8 *ORC_RESTRICT ptr4;
+ orc_int8 var34;
+ orc_union16 var35;
+ orc_union32 var36;
+ orc_union32 var37;
+ orc_union16 var38;
+ orc_union32 var39;
+
+ ptr0 = (orc_union32 *) ex->arrays[0];
+ ptr4 = (orc_int8 *) ex->arrays[4];
+
+ /* 2: loadpw */
+ var35.i = ex->params[24];
+
+ for (i = 0; i < n; i++) {
+ /* 0: loadb */
+ var34 = ptr4[i];
+ /* 1: convubw */
+ var38.i = (orc_uint8) var34;
+ /* 3: mulswl */
+ var39.i = var38.i * var35.i;
+ /* 4: loadl */
+ var36 = ptr0[i];
+ /* 5: addl */
+ var37.i = var36.i + var39.i;
+ /* 6: storel */
+ ptr0[i] = var37;
+ }
+
+}
+
+void
+video_orc_resample_v_muladdtaps_8 (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n)
+{
+ OrcExecutor _ex, *ex = &_ex;
+ static volatile int p_inited = 0;
+ static OrcCode *c = 0;
+ void (*func) (OrcExecutor *);
+
+ if (!p_inited) {
+ orc_once_mutex_lock ();
+ if (!p_inited) {
+ OrcProgram *p;
+
+#if 1
+ static const orc_uint8 bc[] = {
+ 1, 9, 33, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
+ 97, 109, 112, 108, 101, 95, 118, 95, 109, 117, 108, 97, 100, 100, 116,
+ 97,
+ 112, 115, 95, 56, 11, 4, 4, 12, 1, 1, 16, 2, 20, 2, 20, 4,
+ 150, 32, 4, 176, 33, 32, 24, 103, 0, 0, 33, 2, 0,
+ };
+ p = orc_program_new_from_static_bytecode (bc);
+ orc_program_set_backup_function (p,
+ _backup_video_orc_resample_v_muladdtaps_8);
+#else
+ p = orc_program_new ();
+ orc_program_set_name (p, "video_orc_resample_v_muladdtaps_8");
+ orc_program_set_backup_function (p,
+ _backup_video_orc_resample_v_muladdtaps_8);
+ orc_program_add_destination (p, 4, "d1");
+ orc_program_add_source (p, 1, "s1");
+ orc_program_add_parameter (p, 2, "p1");
+ orc_program_add_temporary (p, 2, "t1");
+ orc_program_add_temporary (p, 4, "t2");
+
+ orc_program_append_2 (p, "convubw", 0, ORC_VAR_T1, ORC_VAR_S1, ORC_VAR_D1,
+ ORC_VAR_D1);
+ orc_program_append_2 (p, "mulswl", 0, ORC_VAR_T2, ORC_VAR_T1, ORC_VAR_P1,
+ ORC_VAR_D1);
+ orc_program_append_2 (p, "addl", 0, ORC_VAR_D1, ORC_VAR_D1, ORC_VAR_T2,
+ ORC_VAR_D1);
+#endif
+
+ orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
+ }
+ p_inited = TRUE;
+ orc_once_mutex_unlock ();
+ }
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
+
+ ex->n = n;
+ ex->arrays[ORC_VAR_D1] = d1;
+ ex->arrays[ORC_VAR_S1] = (void *) s1;
+ ex->params[ORC_VAR_P1] = p1;
+
+ func = c->exec;
+ func (ex);
+}
+#endif
+
+
+/* video_orc_resample_v_multaps_8_lq */
+#ifdef DISABLE_ORC
+void
+video_orc_resample_v_multaps_8_lq (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n)
+{
+ int i;
+ orc_union16 *ORC_RESTRICT ptr0;
+ const orc_int8 *ORC_RESTRICT ptr4;
+ orc_int8 var33;
+ orc_union16 var34;
+ orc_union16 var35;
+ orc_union16 var36;
+
+ ptr0 = (orc_union16 *) d1;
+ ptr4 = (orc_int8 *) s1;
+
+ /* 2: loadpw */
+ var34.i = p1;
+
+ for (i = 0; i < n; i++) {
+ /* 0: loadb */
+ var33 = ptr4[i];
+ /* 1: convubw */
+ var36.i = (orc_uint8) var33;
+ /* 3: mullw */
+ var35.i = (var36.i * var34.i) & 0xffff;
+ /* 4: storew */
+ ptr0[i] = var35;
+ }
+
+}
+
+#else
+static void
+_backup_video_orc_resample_v_multaps_8_lq (OrcExecutor * ORC_RESTRICT ex)
+{
+ int i;
+ int n = ex->n;
+ orc_union16 *ORC_RESTRICT ptr0;
+ const orc_int8 *ORC_RESTRICT ptr4;
+ orc_int8 var33;
+ orc_union16 var34;
+ orc_union16 var35;
+ orc_union16 var36;
+
+ ptr0 = (orc_union16 *) ex->arrays[0];
+ ptr4 = (orc_int8 *) ex->arrays[4];
+
+ /* 2: loadpw */
+ var34.i = ex->params[24];
+
+ for (i = 0; i < n; i++) {
+ /* 0: loadb */
+ var33 = ptr4[i];
+ /* 1: convubw */
+ var36.i = (orc_uint8) var33;
+ /* 3: mullw */
+ var35.i = (var36.i * var34.i) & 0xffff;
+ /* 4: storew */
+ ptr0[i] = var35;
+ }
+
+}
+
+void
+video_orc_resample_v_multaps_8_lq (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n)
+{
+ OrcExecutor _ex, *ex = &_ex;
+ static volatile int p_inited = 0;
+ static OrcCode *c = 0;
+ void (*func) (OrcExecutor *);
+
+ if (!p_inited) {
+ orc_once_mutex_lock ();
+ if (!p_inited) {
+ OrcProgram *p;
+
+#if 1
+ static const orc_uint8 bc[] = {
+ 1, 9, 33, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
+ 97, 109, 112, 108, 101, 95, 118, 95, 109, 117, 108, 116, 97, 112, 115,
+ 95,
+ 56, 95, 108, 113, 11, 2, 2, 12, 1, 1, 16, 2, 20, 2, 150, 32,
+ 4, 89, 0, 32, 24, 2, 0,
+ };
+ p = orc_program_new_from_static_bytecode (bc);
+ orc_program_set_backup_function (p,
+ _backup_video_orc_resample_v_multaps_8_lq);
+#else
+ p = orc_program_new ();
+ orc_program_set_name (p, "video_orc_resample_v_multaps_8_lq");
+ orc_program_set_backup_function (p,
+ _backup_video_orc_resample_v_multaps_8_lq);
+ orc_program_add_destination (p, 2, "d1");
+ orc_program_add_source (p, 1, "s1");
+ orc_program_add_parameter (p, 2, "p1");
+ orc_program_add_temporary (p, 2, "t1");
+
+ orc_program_append_2 (p, "convubw", 0, ORC_VAR_T1, ORC_VAR_S1, ORC_VAR_D1,
+ ORC_VAR_D1);
+ orc_program_append_2 (p, "mullw", 0, ORC_VAR_D1, ORC_VAR_T1, ORC_VAR_P1,
+ ORC_VAR_D1);
+#endif
+
+ orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
+ }
+ p_inited = TRUE;
+ orc_once_mutex_unlock ();
+ }
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
+
+ ex->n = n;
+ ex->arrays[ORC_VAR_D1] = d1;
+ ex->arrays[ORC_VAR_S1] = (void *) s1;
+ ex->params[ORC_VAR_P1] = p1;
+
+ func = c->exec;
+ func (ex);
+}
+#endif
+
+
+/* video_orc_resample_v_muladdtaps_8_lq */
+#ifdef DISABLE_ORC
+void
+video_orc_resample_v_muladdtaps_8_lq (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n)
+{
+ int i;
+ orc_union16 *ORC_RESTRICT ptr0;
+ const orc_int8 *ORC_RESTRICT ptr4;
+ orc_int8 var34;
+ orc_union16 var35;
+ orc_union16 var36;
+ orc_union16 var37;
+ orc_union16 var38;
+ orc_union16 var39;
+
+ ptr0 = (orc_union16 *) d1;
+ ptr4 = (orc_int8 *) s1;
+
+ /* 2: loadpw */
+ var35.i = p1;
+
+ for (i = 0; i < n; i++) {
+ /* 0: loadb */
+ var34 = ptr4[i];
+ /* 1: convubw */
+ var38.i = (orc_uint8) var34;
+ /* 3: mullw */
+ var39.i = (var38.i * var35.i) & 0xffff;
+ /* 4: loadw */
+ var36 = ptr0[i];
+ /* 5: addw */
+ var37.i = var36.i + var39.i;
+ /* 6: storew */
+ ptr0[i] = var37;
+ }
+
+}
+
+#else
+static void
+_backup_video_orc_resample_v_muladdtaps_8_lq (OrcExecutor * ORC_RESTRICT ex)
+{
+ int i;
+ int n = ex->n;
+ orc_union16 *ORC_RESTRICT ptr0;
+ const orc_int8 *ORC_RESTRICT ptr4;
+ orc_int8 var34;
+ orc_union16 var35;
+ orc_union16 var36;
+ orc_union16 var37;
+ orc_union16 var38;
+ orc_union16 var39;
+
+ ptr0 = (orc_union16 *) ex->arrays[0];
+ ptr4 = (orc_int8 *) ex->arrays[4];
+
+ /* 2: loadpw */
+ var35.i = ex->params[24];
+
+ for (i = 0; i < n; i++) {
+ /* 0: loadb */
+ var34 = ptr4[i];
+ /* 1: convubw */
+ var38.i = (orc_uint8) var34;
+ /* 3: mullw */
+ var39.i = (var38.i * var35.i) & 0xffff;
+ /* 4: loadw */
+ var36 = ptr0[i];
+ /* 5: addw */
+ var37.i = var36.i + var39.i;
+ /* 6: storew */
+ ptr0[i] = var37;
+ }
+
+}
+
+void
+video_orc_resample_v_muladdtaps_8_lq (gint32 * ORC_RESTRICT d1,
+ const guint32 * ORC_RESTRICT s1, int p1, int n)
+{
+ OrcExecutor _ex, *ex = &_ex;
+ static volatile int p_inited = 0;
+ static OrcCode *c = 0;
+ void (*func) (OrcExecutor *);
+
+ if (!p_inited) {
+ orc_once_mutex_lock ();
+ if (!p_inited) {
+ OrcProgram *p;
+
+#if 1
+ static const orc_uint8 bc[] = {
+ 1, 9, 36, 118, 105, 100, 101, 111, 95, 111, 114, 99, 95, 114, 101, 115,
+ 97, 109, 112, 108, 101, 95, 118, 95, 109, 117, 108, 97, 100, 100, 116,
+ 97,
+ 112, 115, 95, 56, 95, 108, 113, 11, 2, 2, 12, 1, 1, 16, 2, 20,
+ 2, 20, 2, 150, 32, 4, 89, 33, 32, 24, 70, 0, 0, 33, 2, 0,
+
+ };
+ p = orc_program_new_from_static_bytecode (bc);
+ orc_program_set_backup_function (p,
+ _backup_video_orc_resample_v_muladdtaps_8_lq);
+#else
+ p = orc_program_new ();
+ orc_program_set_name (p, "video_orc_resample_v_muladdtaps_8_lq");
+ orc_program_set_backup_function (p,
+ _backup_video_orc_resample_v_muladdtaps_8_lq);
+ orc_program_add_destination (p, 2, "d1");
+ orc_program_add_source (p, 1, "s1");
+ orc_program_add_parameter (p, 2, "p1");
+ orc_program_add_temporary (p, 2, "t1");
+ orc_program_add_temporary (p, 2, "t2");
+
+ orc_program_append_2 (p, "convubw", 0, ORC_VAR_T1, ORC_VAR_S1, ORC_VAR_D1,
+ ORC_VAR_D1);
+ orc_program_append_2 (p, "mullw", 0, ORC_VAR_T2, ORC_VAR_T1, ORC_VAR_P1,
+ ORC_VAR_D1);
+ orc_program_append_2 (p, "addw", 0, ORC_VAR_D1, ORC_VAR_D1, ORC_VAR_T2,
+ ORC_VAR_D1);
+#endif
+
+ orc_program_compile (p);
+ c = orc_program_take_code (p);
+ orc_program_free (p);
+ }
+ p_inited = TRUE;
+ orc_once_mutex_unlock ();
+ }
+ ex->arrays[ORC_VAR_A2] = c;
+ ex->program = 0;
+
+ ex->n = n;
+ ex->arrays[ORC_VAR_D1] = d1;
+ ex->arrays[ORC_VAR_S1] = (void *) s1;
+ ex->params[ORC_VAR_P1] = p1;
+
+ func = c->exec;
+ func (ex);
+}
+#endif