Merge pull request #1725 from unix-ninja/master

Cleanup unused register definitions
This commit is contained in:
Jens Steube
2018-10-23 09:43:06 +02:00
committed by GitHub
2 changed files with 0 additions and 20 deletions

View File

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

View File

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