We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0218b88 commit 9b87b64Copy full SHA for 9b87b64
c_check
@@ -203,8 +203,8 @@ $binformat = bin64 if ($data =~ /BINARY_64/);
203
204
$no_avx512= 0;
205
if (($architecture eq "x86") || ($architecture eq "x86_64")) {
206
- $code = '"vaddps %zmm1, %zmm0, %zmm0"';
207
- print $tmpf "void main(void){ __asm__ volatile($code); }\n";
+ $code = '"vbroadcastss -4 * 4(%rsi), %zmm2"';
+ print $tmpf "int main(void){ __asm__ volatile($code); }\n";
208
$args = " -o $tmpf.o -x c $tmpf";
209
my @cmd = ("$compiler_name $args");
210
system(@cmd) == 0;
0 commit comments