Skip to content

Commit

Permalink
Fix code of x?vfmin/max
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Jun 4, 2024
1 parent bb2359f commit b75f00d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion code/vfmax_d.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
for (int i = 0; i < 2; i++) {
dst.fp64[i] = +(a.fp64[i], b.fp64[i]);
dst.fp64[i] = fmax(a.fp64[i], b.fp64[i]);
}
2 changes: 1 addition & 1 deletion code/vfmax_s.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
for (int i = 0; i < 4; i++) {
dst.fp32[i] = +(a.fp32[i], b.fp32[i]);
dst.fp32[i] = fmax(a.fp32[i], b.fp32[i]);
}
2 changes: 1 addition & 1 deletion code/vfmin_d.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
for (int i = 0; i < 2; i++) {
dst.fp64[i] = +(a.fp64[i], b.fp64[i]);
dst.fp64[i] = fmin(a.fp64[i], b.fp64[i]);
}
2 changes: 1 addition & 1 deletion code/vfmin_s.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
for (int i = 0; i < 4; i++) {
dst.fp32[i] = +(a.fp32[i], b.fp32[i]);
dst.fp32[i] = fmin(a.fp32[i], b.fp32[i]);
}
2 changes: 1 addition & 1 deletion code/xvfmax_d.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
for (int i = 0; i < 4; i++) {
dst.fp64[i] = +(a.fp64[i], b.fp64[i]);
dst.fp64[i] = fmax(a.fp64[i], b.fp64[i]);
}
2 changes: 1 addition & 1 deletion code/xvfmax_s.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
for (int i = 0; i < 8; i++) {
dst.fp32[i] = +(a.fp32[i], b.fp32[i]);
dst.fp32[i] = fmax(a.fp32[i], b.fp32[i]);
}
2 changes: 1 addition & 1 deletion code/xvfmin_d.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
for (int i = 0; i < 4; i++) {
dst.fp64[i] = +(a.fp64[i], b.fp64[i]);
dst.fp64[i] = fmin(a.fp64[i], b.fp64[i]);
}
2 changes: 1 addition & 1 deletion code/xvfmin_s.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
for (int i = 0; i < 8; i++) {
dst.fp32[i] = +(a.fp32[i], b.fp32[i]);
dst.fp32[i] = fmin(a.fp32[i], b.fp32[i]);
}

0 comments on commit b75f00d

Please sign in to comment.