@@ -110,38 +110,38 @@ vector unsigned char test_vpermxoruc_be(vector unsigned char a,
110
110
// CHECK: @llvm.ppc.altivec.crypto.vpermxor.be
111
111
}
112
112
113
- // CHECK-LABEL: define{{.*}} <2 x i64 > @test_vcipher
114
- vector unsigned long long test_vcipher (void )
113
+ // CHECK-LABEL: define{{.*}} <16 x i8 > @test_vcipher
114
+ vector unsigned char test_vcipher (void )
115
115
{
116
- vector unsigned long long a = D_INIT1
117
- vector unsigned long long b = D_INIT2
116
+ vector unsigned char a = B_INIT1
117
+ vector unsigned char b = B_INIT2
118
118
return __builtin_altivec_crypto_vcipher (a , b );
119
119
// CHECK: @llvm.ppc.altivec.crypto.vcipher
120
120
}
121
121
122
- // CHECK-LABEL: define{{.*}} <2 x i64 > @test_vcipherlast
123
- vector unsigned long long test_vcipherlast (void )
122
+ // CHECK-LABEL: define{{.*}} <16 x i8 > @test_vcipherlast
123
+ vector unsigned char test_vcipherlast (void )
124
124
{
125
- vector unsigned long long a = D_INIT1
126
- vector unsigned long long b = D_INIT2
125
+ vector unsigned char a = B_INIT1
126
+ vector unsigned char b = B_INIT2
127
127
return __builtin_altivec_crypto_vcipherlast (a , b );
128
128
// CHECK: @llvm.ppc.altivec.crypto.vcipherlast
129
129
}
130
130
131
131
// CHECK-LABEL: @test_vncipher
132
- vector unsigned long long test_vncipher (void )
132
+ vector unsigned char test_vncipher (void )
133
133
{
134
- vector unsigned long long a = D_INIT1
135
- vector unsigned long long b = D_INIT2
134
+ vector unsigned char a = B_INIT1
135
+ vector unsigned char b = B_INIT2
136
136
return __builtin_altivec_crypto_vncipher (a , b );
137
137
// CHECK: @llvm.ppc.altivec.crypto.vncipher
138
138
}
139
139
140
- // CHECK-LABEL: define{{.*}} <2 x i64 > @test_vncipherlast
141
- vector unsigned long long test_vncipherlast (void )
140
+ // CHECK-LABEL: define{{.*}} <16 x i8 > @test_vncipherlast
141
+ vector unsigned char test_vncipherlast (void )
142
142
{
143
- vector unsigned long long a = D_INIT1
144
- vector unsigned long long b = D_INIT2
143
+ vector unsigned char a = B_INIT1
144
+ vector unsigned char b = B_INIT2
145
145
return __builtin_altivec_crypto_vncipherlast (a , b );
146
146
// CHECK: @llvm.ppc.altivec.crypto.vncipherlast
147
147
}
@@ -248,20 +248,20 @@ vector unsigned long long test_vpermxord_e(void)
248
248
// CHECK: @llvm.ppc.altivec.crypto.vpermxor
249
249
}
250
250
251
- // CHECK-LABEL: define{{.*}} <2 x i64 > @test_vcipher_e
252
- vector unsigned long long test_vcipher_e (void )
251
+ // CHECK-LABEL: define{{.*}} <16 x i8 > @test_vcipher_e
252
+ vector unsigned char test_vcipher_e (void )
253
253
{
254
- vector unsigned long long a = D_INIT1
255
- vector unsigned long long b = D_INIT2
254
+ vector unsigned char a = B_INIT1
255
+ vector unsigned char b = B_INIT2
256
256
return __builtin_crypto_vcipher (a , b );
257
257
// CHECK: @llvm.ppc.altivec.crypto.vcipher
258
258
}
259
259
260
- // CHECK-LABEL: define{{.*}} <2 x i64 > @test_vcipherlast_e
261
- vector unsigned long long test_vcipherlast_e (void )
260
+ // CHECK-LABEL: define{{.*}} <16 x i8 > @test_vcipherlast_e
261
+ vector unsigned char test_vcipherlast_e (void )
262
262
{
263
- vector unsigned long long a = D_INIT1
264
- vector unsigned long long b = D_INIT2
263
+ vector unsigned char a = B_INIT1
264
+ vector unsigned char b = B_INIT2
265
265
return __builtin_crypto_vcipherlast (a , b );
266
266
// CHECK: @llvm.ppc.altivec.crypto.vcipherlast
267
267
}
@@ -291,37 +291,37 @@ vector unsigned long long test_vec_sbox_be(void)
291
291
}
292
292
293
293
// CHECK-LABEL: @test_vec_cipher_be
294
- vector unsigned long long test_vec_cipher_be (void )
294
+ vector unsigned char test_vec_cipher_be (void )
295
295
{
296
- vector unsigned long long a = D_INIT1
297
- vector unsigned long long b = D_INIT2
296
+ vector unsigned char a = B_INIT1
297
+ vector unsigned char b = B_INIT2
298
298
return vec_cipher_be (a , b );
299
299
// CHECK: @llvm.ppc.altivec.crypto.vcipher
300
300
}
301
301
302
302
// CHECK-LABEL: @test_vec_cipherlast_be
303
- vector unsigned long long test_vec_cipherlast_be (void )
303
+ vector unsigned char test_vec_cipherlast_be (void )
304
304
{
305
- vector unsigned long long a = D_INIT1
306
- vector unsigned long long b = D_INIT2
305
+ vector unsigned char a = B_INIT1
306
+ vector unsigned char b = B_INIT2
307
307
return vec_cipherlast_be (a , b );
308
308
// CHECK: @llvm.ppc.altivec.crypto.vcipherlast
309
309
}
310
310
311
311
// CHECK-LABEL: @test_vec_ncipher_be
312
- vector unsigned long long test_vec_ncipher_be (void )
312
+ vector unsigned char test_vec_ncipher_be (void )
313
313
{
314
- vector unsigned long long a = D_INIT1
315
- vector unsigned long long b = D_INIT2
314
+ vector unsigned char a = B_INIT1
315
+ vector unsigned char b = B_INIT2
316
316
return vec_ncipher_be (a , b );
317
317
// CHECK: @llvm.ppc.altivec.crypto.vncipher
318
318
}
319
319
320
320
// CHECK-LABEL: @test_vec_ncipherlast_be
321
- vector unsigned long long test_vec_ncipherlast_be (void )
321
+ vector unsigned char test_vec_ncipherlast_be (void )
322
322
{
323
- vector unsigned long long a = D_INIT1
324
- vector unsigned long long b = D_INIT2
323
+ vector unsigned char a = B_INIT1
324
+ vector unsigned char b = B_INIT2
325
325
return vec_ncipherlast_be (a , b );
326
326
// CHECK: @llvm.ppc.altivec.crypto.vncipherlast
327
327
}
0 commit comments