From 80d97cf38a02d15a5bb4555353ebaf83a7557b55 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sat, 6 Feb 2016 10:33:54 +0100 Subject: [PATCH] Converted to new SIMD: -m 5500 -a 0 --- OpenCL/m05500_a0.cl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/OpenCL/m05500_a0.cl b/OpenCL/m05500_a0.cl index c0e4ea7c0..798941a01 100644 --- a/OpenCL/m05500_a0.cl +++ b/OpenCL/m05500_a0.cl @@ -669,6 +669,11 @@ __kernel void m05500_m04 (__global pw_t *pws, __global kernel_rule_t * rules_bu _des_crypt_keysetup (key[0], key[1], Kc, Kd, s_skb); + u32x data[2]; + + data[0] = s0; + data[1] = s1; + u32x iv1[2]; _des_crypt_encrypt (iv1, data, Kc, Kd, s_SPtrans); @@ -893,6 +898,11 @@ __kernel void m05500_s04 (__global pw_t *pws, __global kernel_rule_t * rules_bu _des_crypt_keysetup (key[0], key[1], Kc, Kd, s_skb); + u32x data[2]; + + data[0] = s0; + data[1] = s1; + u32x iv1[2]; _des_crypt_encrypt (iv1, data, Kc, Kd, s_SPtrans); @@ -906,7 +916,7 @@ __kernel void m05500_s04 (__global pw_t *pws, __global kernel_rule_t * rules_bu _des_crypt_keysetup (key[0], key[1], Kc, Kd, s_skb); - u32 iv2[2]; + u32x iv2[2]; _des_crypt_encrypt (iv2, data, Kc, Kd, s_SPtrans); */