From 05848f1ce0534d806a0038d430e972f7b8e791b3 Mon Sep 17 00:00:00 2001 From: Misha Gutman Date: Wed, 31 Jul 2024 05:58:20 -0700 Subject: [PATCH] Fixed unused variable error PiperOrigin-RevId: 657976900 --- .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc2.c | 1 - .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc3.c | 1 - .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc4.c | 1 - .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128.c | 1 - .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u32.c | 1 - .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64-acc2.c | 1 - .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64.c | 1 - .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc2.c | 1 - .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc3.c | 1 - .../gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96.c | 1 - src/f32-raddstoreexpminusmax/hvx-rr2-p5.c.in | 1 - 11 files changed, 11 deletions(-) diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc2.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc2.c index 7a827e6bcf58..8914ec73dd1b 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc2.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc2.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u128_acc2( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc3.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc3.c index cbad7b07ad8c..8e145551d226 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc3.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc3.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u128_acc3( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc4.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc4.c index 01ce8b4e5c64..41cbb04168b1 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc4.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128-acc4.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u128_acc4( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128.c index 57f5465f2dd3..e11509b63540 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u128.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u128( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u32.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u32.c index 54fa8a2cdda6..464ea938a484 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u32.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u32.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u32( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64-acc2.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64-acc2.c index 43ee218e8ca8..747a62d9343a 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64-acc2.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64-acc2.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u64_acc2( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64.c index ae4f39ce44cf..936cb1d327a8 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u64.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u64( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc2.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc2.c index b2fdacb58a8f..ed99c54725b8 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc2.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc2.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u96_acc2( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc3.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc3.c index b64d1e77ec61..4e08ebf6aae6 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc3.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96-acc3.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u96_acc3( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96.c b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96.c index ab69526c30b9..1ec998287a2a 100644 --- a/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96.c +++ b/src/f32-raddstoreexpminusmax/gen/f32-raddstoreexpminusmax-hvx-rr2-p5-u96.c @@ -28,7 +28,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u96( assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->hvx_rr2_p5.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->hvx_rr2_p5.magic_bias); diff --git a/src/f32-raddstoreexpminusmax/hvx-rr2-p5.c.in b/src/f32-raddstoreexpminusmax/hvx-rr2-p5.c.in index b3a6d0443481..29d007706ffa 100644 --- a/src/f32-raddstoreexpminusmax/hvx-rr2-p5.c.in +++ b/src/f32-raddstoreexpminusmax/hvx-rr2-p5.c.in @@ -29,7 +29,6 @@ void xnn_f32_raddstoreexpminusmax_ukernel__hvx_rr2_p5_u${BATCH_TILE}${"" if ACCU assert(output != NULL); assert(sum != NULL); - XNN_SIMD_CONST_F32(vindex_mask, INT32_C(0x3F)); const HVX_Vector vi_max = xnn_set1_f32(*max); const HVX_Vector vlog2e = xnn_set1_f32(params->${PARAMS_STRUCT}.log2e); const HVX_Vector vmagic_bias = xnn_set1_f32(params->${PARAMS_STRUCT}.magic_bias);