From 6196e23069c491ff400a0368593eb75b77c097e0 Mon Sep 17 00:00:00 2001 From: unix-ninja Date: Mon, 22 Oct 2018 15:23:41 -0400 Subject: [PATCH] Cleanup unused register definitions --- OpenCL/m18100_a0-pure.cl | 10 ---------- OpenCL/m18100_a1-pure.cl | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/OpenCL/m18100_a0-pure.cl b/OpenCL/m18100_a0-pure.cl index 9c589b1b3..54aa51e1f 100644 --- a/OpenCL/m18100_a0-pure.cl +++ b/OpenCL/m18100_a0-pure.cl @@ -88,11 +88,6 @@ __kernel void m18100_mxx (__global pw_t *pws, __constant const kernel_rule_t *ru // we want to generate only 6 digits of code otp_code %= 1000000; - const u32 r0 = ctx.opad.h[DGST_R0]; - const u32 r1 = ctx.opad.h[DGST_R1]; - const u32 r2 = ctx.opad.h[DGST_R2]; - const u32 r3 = ctx.opad.h[DGST_R3]; - COMPARE_M_SCALAR (otp_code, 0, 0, 0); } } @@ -182,11 +177,6 @@ __kernel void m18100_sxx (__global pw_t *pws, __constant const kernel_rule_t *ru // we want to generate only 6 digits of code otp_code %= 1000000; - const u32 r0 = ctx.opad.h[DGST_R0]; - const u32 r1 = ctx.opad.h[DGST_R1]; - const u32 r2 = ctx.opad.h[DGST_R2]; - const u32 r3 = ctx.opad.h[DGST_R3]; - COMPARE_S_SCALAR (otp_code, 0, 0, 0); } } diff --git a/OpenCL/m18100_a1-pure.cl b/OpenCL/m18100_a1-pure.cl index 940a7c5da..67b9c719f 100644 --- a/OpenCL/m18100_a1-pure.cl +++ b/OpenCL/m18100_a1-pure.cl @@ -111,11 +111,6 @@ __kernel void m18100_mxx (__global pw_t *pws, __global const kernel_rule_t *rule // we want to generate only 6 digits of code otp_code %= 1000000; - const u32 r0 = ctx.opad.h[DGST_R0]; - const u32 r1 = ctx.opad.h[DGST_R1]; - const u32 r2 = ctx.opad.h[DGST_R2]; - const u32 r3 = ctx.opad.h[DGST_R3]; - COMPARE_M_SCALAR (otp_code, 0, 0, 0); } } @@ -230,11 +225,6 @@ __kernel void m18100_sxx (__global pw_t *pws, __global const kernel_rule_t *rule // we want to generate only 6 digits of code otp_code %= 1000000; - const u32 r0 = ctx.opad.h[DGST_R0]; - const u32 r1 = ctx.opad.h[DGST_R1]; - const u32 r2 = ctx.opad.h[DGST_R2]; - const u32 r3 = ctx.opad.h[DGST_R3]; - COMPARE_S_SCALAR (otp_code, 0, 0, 0); } }