Skip to content

Commit 51ce5ef

Browse files
committed
Merge branch 'develop'
2 parents 37aee1f + 1943ea9 commit 51ce5ef

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

c_check

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Checking cross compile
44
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
55
$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
6+
$hostarch = "x86_64" if ($hostarch eq "amd64");
67

78
$binary = $ENV{"BINARY"};
89

f_check

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ $config = shift(@ARGV);
1616
$nofortran = 0;
1717

1818
$compiler = join(" ", @ARGV);
19+
$compiler_bin = shift(@ARGV);
1920

2021
# f77 is too ambiguous
2122
$compiler = "" if $compiler eq "f77";
@@ -53,7 +54,7 @@ if ($compiler eq "") {
5354

5455
} else {
5556

56-
$data = `which $compiler > /dev/null 2> /dev/null`;
57+
$data = `which $compiler_bin > /dev/null 2> /dev/null`;
5758
$vendor = "";
5859

5960
if (!$?) {
@@ -204,7 +205,7 @@ if ($compiler eq "") {
204205
}
205206
}
206207

207-
$data = `which $compiler > /dev/null 2> /dev/null`;
208+
$data = `which $compiler_bin > /dev/null 2> /dev/null`;
208209

209210
if (!$?) {
210211

kernel/x86_64/sgemm_kernel_16x4_sandy.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -726,8 +726,8 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
726726

727727
#if !defined(TRMMKERNEL)
728728

729-
vaddps (CO1), %xmm4,%xmm4
730-
vaddps 1 * SIZE(CO1), %xmm5,%xmm5
729+
vaddss (CO1), %xmm4,%xmm4
730+
vaddss 1 * SIZE(CO1), %xmm5,%xmm5
731731

732732
#endif
733733

@@ -756,7 +756,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
756756

757757
#if !defined(TRMMKERNEL)
758758

759-
vaddps (CO1), %xmm4,%xmm4
759+
vaddss (CO1), %xmm4,%xmm4
760760

761761
#endif
762762

0 commit comments

Comments
 (0)