Merge pull request #1725 from unix-ninja/master

Cleanup unused register definitions
pull/1726/head
Jens Steube 6 years ago committed by GitHub
commit 48cf3f722b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
}
}

@ -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);
}
}

Loading…
Cancel
Save