Merge branch 'release-0.2.17' into develop
[platform/upstream/openblas.git] / Changelog.txt
1 OpenBLAS ChangeLog
2 ====================================================================
3 Version 0.2.17
4 20-Mar-2016
5 common:
6         * Enable BUILD_LAPACK_DEPRECATED=1 by default.
7
8 ====================================================================
9 Version 0.2.16
10 15-Mar-2016
11 common:
12         * Avoid potential getenv segfault. (#716)
13         * Import LAPACK svn bugfix #142-#147,#150-#155
14
15 x86/x86_64:
16         * Optimize c/zgemv for AMD Bulldozer, Piledriver, Steamroller
17         * Fix bug with scipy linalg test.
18
19 ARM:
20         * Improve DGEMM for ARM Cortex-A57. (Thanks, Ashwin Sekhar T K)
21
22 POWER:
23         * Optimize D and Z BLAS3 functions for Power8.
24
25 ====================================================================
26 Version 0.2.16.rc1
27 23-Feb-2016
28 common:
29         * Upgrade LAPACK to 3.6.0 version.
30           Add BUILD_LAPACK_DEPRECATED option in Makefile.rule to build
31           LAPACK deprecated functions.
32         * Add MAKE_NB_JOBS option in Makefile.
33           Force number of make jobs.This is particularly
34           useful when using distcc. (#735. Thanks, Jerome Robert.)
35         * Redesign unit test. Run unit/regression test at every build (Travis-CI and Appveyor).
36         * Disable multi-threading for small size swap and ger. (#744. Thanks, Jerome Robert)
37         * Improve small zger, zgemv, ztrmv using stack alloction (#727. Thanks, Jerome Robert)
38         * Let openblas_get_num_threads return the number of active threads. 
39           (#760. Thanks, Jerome Robert)
40         * Support illumos(OmniOS). (#749. Thanks, Lauri Tirkkonen)
41         * Fix LAPACK Dormbr, Dormlq bug. (#711, #713. Thanks, Brendan Tracey)
42         * Update scipy benchmark script. (#745. Thanks, John Kirkham)
43
44 x86/x86_64:
45         * Optimize trsm kernels for AMD Bulldozer, Piledriver, Steamroller.
46         * Detect Intel Avoton.
47         * Detect AMD Trinity, Richland, E2-3200.
48         * Fix gemv performance bug on Mac OSX Intel Haswell.
49         * Fix some bugs with CMake and Visual Studio
50
51 ARM:
52         * Support and optimize Cortex-A57 AArch64.
53           (#686. Thanks, Ashwin Sekhar TK)
54         * Fix Android build on ARMV7 (#778. Thanks, Paul Mustiere)
55         * Update ARMV6 kernels.
56
57 POWER:
58         * Fix detection of POWER architecture
59           (#684. Thanks, Sebastien Villemot)
60
61 ====================================================================
62 Version 0.2.15
63 27-Oct-2015
64 common:
65         * Support cmake on x86/x86-64. Natively compiling on MS Visual Studio.
66           (experimental. Thank Hank Anderson for the initial cmake porting work.)
67           
68           On Linux and Mac OSX, OpenBLAS cmake supports assembly kernels.
69           e.g. cmake .
70                make
71                make test (Optional)
72
73           On Windows MS Visual Studio, OpenBLAS cmake only support C kernels.
74           (OpenBLAS uses AT&T style assembly, which is not supported by MSVC.)
75           e.g. cmake -G "Visual Studio 12 Win64" .
76                Open OpenBLAS.sln and build.
77           
78         * Enable MAX_STACK_ALLOC flags by default.
79           Improve ger and gemv for small matrices.
80         * Improve gemv parallel with small m and large n case.
81         * Improve ?imatcopy when lda==ldb (#633. Thanks, Martin Koehler)
82         * Add vecLib benchmarks (#565. Thanks, Andreas Noack.)
83         * Fix LAPACK lantr for row major matrices (#634. Thanks, Dan Kortschak)
84         * Fix LAPACKE lansy (#640. Thanks, Dan Kortschak)
85         * Import bug fixes for LAPACKE s/dormlq, c/zunmlq 
86         * Raise the signal when pthread_create fails (#668. Thanks, James K. Lowden)
87         * Remove g77 from compiler list.
88         * Enable AppVeyor Windows CI.
89
90 x86/x86-64:
91         * Support pure C generic kernels for x86/x86-64.
92         * Support Intel Boardwell and Skylake by Haswell kernels.
93         * Support AMD Excavator by Steamroller kernels.
94         * Optimize s/d/c/zdot for Intel SandyBridge and Haswell.
95         * Optimize s/d/c/zdot for AMD Piledriver and Steamroller.
96         * Optimize s/d/c/zapxy for Intel SandyBridge and Haswell.
97         * Optimize s/d/c/zapxy for AMD Piledriver and Steamroller.
98         * Optimize d/c/zscal for Intel Haswell, dscal for Intel SandyBridge.
99         * Optimize d/c/zscal for AMD Bulldozer, Piledriver and Steamroller.
100         * Optimize s/dger for Intel SandyBridge.
101         * Optimize s/dsymv for Intel SandyBridge.
102         * Optimize ssymv for Intel Haswell.
103         * Optimize dgemv for Intel Nehalem and Haswell.
104         * Optimize dtrmm for Intel Haswell.
105
106 ARM:
107         * Support Android NDK armeabi-v7a-hard ABI (-mfloat-abi=hard)
108           e.g. make HOSTCC=gcc CC=arm-linux-androideabi-gcc NO_LAPACK=1 TARGET=ARMV7
109         * Fix lock, rpcc bugs (#616, #617. Thanks, Grazvydas Ignotas)
110 POWER:
111         * Support ppc64le platform (ELF ABI v2. #612. Thanks, Matthew Brandyberry.)
112         * Support POWER7/8 by POWER6 kernels. (#612. Thanks, Fábio Perez.)
113
114 ====================================================================
115 Version 0.2.14
116 24-Mar-2015
117 common:
118         * Improve OpenBLASConfig.cmake. (#474, #475. Thanks, xantares.)
119         * Improve ger and gemv for small matrices by stack allocation.
120           e.g. make -DMAX_STACK_ALLOC=2048 (#482. Thanks, Jerome Robert.)
121         * Introduce openblas_get_num_threads and openblas_get_num_procs.
122           (#497. Thanks, Erik Schnetter.)
123         * Add ATLAS-style ?geadd function. (#509. Thanks, Martin Köhler.)
124         * Fix c/zsyr bug with negative incx. (#492.)
125         * Fix race condition during shutdown causing a crash in
126           gotoblas_set_affinity(). (#508. Thanks, Ton van den Heuvel.)
127
128 x86/x86-64:
129         * Support AMD Streamroller.
130
131 ARM:
132         * Add Cortex-A9 and Cortex-A15 targets.
133
134 ====================================================================
135 Version 0.2.13
136 3-Dec-2014
137 common:
138         * Add SYMBOLPREFIX and SYMBOLSUFFIX makefile options
139           for adding a prefix or suffix to all exported symbol names
140           in the shared library.(#459, Thanks Tony Kelman)
141         * Provide OpenBLASConfig.cmake at installation.
142         * Fix Fortran compiler detection on FreeBSD.
143           (#470, Thanks Mike Nolta)
144
145
146 x86/x86-64:
147         * Add generic kernel files for x86-64. make TARGET=GENERIC
148         * Fix a bug of sgemm kernel on Intel Sandy Bridge.
149         * Fix c_check bug on some amd64 systems. (#471, Thanks Mike Nolta)
150
151 ARM:
152         * Support APM's X-Gene 1 AArch64 processors.
153           Optimize trmm and sgemm. (#465, Thanks Dave Nuechterlein)
154
155 ====================================================================
156 Version 0.2.12
157 13-Oct-2014
158 common:
159         * Added CBLAS interface for ?omatcopy and ?imatcopy.
160         * Enable ?gemm3m functions.
161         * Added benchmark for ?gemm3m.
162         * Optimized multithreading lower limits.
163         * Disabled SYMM3M and HEMM3M functions 
164           because of segment violations.
165
166 x86/x86-64:
167         * Improved axpy and symv performance on AMD Bulldozer.
168         * Improved gemv performance on modern Intel and AMD CPUs.
169
170 ====================================================================
171 Version 0.2.11
172 18-Aug-2014
173 common:
174         * Added some benchmark codes.
175         * Fix link error on Linux/musl.(Thanks Isaac Dunham)
176
177 x86/x86-64:
178         * Improved s/c/zgemm performance for Intel Haswell.
179         * Improved s/d/c/zgemv performance.
180         * Support the big numa machine.(EXPERIMENT)
181
182 ARM:
183         * Fix detection when cpuinfo uses "Processor". (Thanks Isaiah)
184
185 ====================================================================
186 Version 0.2.10
187 16-Jul-2014
188 common:
189         * Added BLAS extensions as following.
190           s/d/c/zaxpby, s/d/c/zimatcopy, s/d/c/zomatcopy.
191         * Added OPENBLAS_CORETYPE environment for dynamic_arch. (a86d34)
192         * Added NO_AVX2 flag for old binutils. (#401)
193         * Support outputing the CPU corename on runtime.(#407)
194         * Patched LAPACK to fix bug 114, 117, 118. 
195           (http://www.netlib.org/lapack/bug_list.html)
196         * Disabled ?gemm3m for a work-around fix. (#400)
197 x86/x86-64:
198         * Fixed lots of bugs for optimized kernels on sandybridge,Haswell, 
199           bulldozer, and piledriver.
200           https://github.com/xianyi/OpenBLAS/wiki/Fixed-optimized-kernels-To-do-List
201
202 ARM:
203         * Improved LAPACK testing.
204
205 ====================================================================
206 Version 0.2.9
207 10-Jun-2014
208 common:
209         * Improved the result for LAPACK testing. (#372)
210         * Installed DLL to prefix/bin instead of prefix/lib. (#366)
211         * Build import library on Windows.(#374)
212 x86/x86-64:
213         * To improve LAPACK testing, we fallback some kernels. (#372)
214         https://github.com/xianyi/OpenBLAS/wiki/Fixed-optimized-kernels-To-do-List
215
216 ====================================================================
217 Version 0.2.9.rc2
218 06-Mar-2014
219 common:
220         * Added OPENBLAS_VERBOSE environment variable.(#338)
221         * Make OpenBLAS thread-pool resilient to fork via pthread_atfork.
222           (#294, Thank Olivier Grisel)
223         * Rewrote rotmg
224         * Fixed sdsdot bug.
225 x86/x86-64:
226         * Detect Intel Haswell for new Macbook.
227
228 ====================================================================
229 Version 0.2.9.rc1
230 13-Jan-2013
231 common:
232         * Update LAPACK to 3.5.0 version
233         * Fixed compatiable issues with Clang and Pathscale compilers.
234
235 x86/x86-64:
236         * Optimization on Intel Haswell.
237         * Enable optimization kernels on AMD Bulldozer and Piledriver.
238
239 ARM:
240         * Support ARMv6 and ARMv7 ISA.
241         * Optimization on ARM Cortex-A9.
242
243 ====================================================================
244 Version 0.2.8
245 01-Aug-2013
246 common:
247         * Support Open64 5.0. (#266)
248         * Add executable stack markings. (#262, Thank Sébastien Fabbro)
249         * Respect user's LDFLAGS (Thank Sébastien Fabbro)
250
251 x86/x86-64:
252         * Rollback bulldozer and piledriver kernels to barcelona kernels (#263)
253           We will fix the compuational error bug in bulldozer and piledriver kernels.
254
255 ====================================================================
256 Version 0.2.7
257 20-Jul-2013
258 common:
259         * Support LSB (Linux Standard Base) 4.1.
260           e.g. make CC=lsbcc
261         * Include LAPACK 3.4.2 source codes to the repo.
262           Avoid downloading at compile time.
263         * Add NO_PARALLEL_MAKE flag to disable parallel make.
264         * Create openblas_get_parallel to retrieve information which
265           parallelization model is used by OpenBLAS. (Thank grisuthedragon)
266         * Detect LLVM/Clang compiler. The default compiler is Clang on Mac OS X.
267         * Change LIBSUFFIX from .lib to .a on windows.
268         * A work-around for dtrti_U single thread bug. Replace it with LAPACK codes. (#191)
269
270 x86/x86-64:
271         * Optimize c/zgemm, trsm, dgemv_n, ddot, daxpy, dcopy on
272           AMD Bulldozer. (Thank Werner Saar)
273         * Add Intel Haswell support (using Sandybridge optimizations).
274           (Thank Dan Luu)
275         * Add AMD Piledriver support (using Bulldozer optimizations).
276         * Fix the computational error in zgemm avx kernel on
277           Sandybridge. (#237)
278         * Fix the overflow bug in gemv.
279         * Fix the overflow bug in multi-threaded BLAS3, getrf when NUM_THREADS
280           is very large.(#214, #221, #246).
281 MIPS64:
282         * Support loongcc (Open64 based) compiler for ICT Loongson 3A/B.
283
284 Power:
285         * Support Power7 by old Power6 kernels. (#220)
286
287 ====================================================================
288 Version 0.2.6
289 2-Mar-2013
290 common:
291         * Improved OpenMP performance slightly. (d744c9)
292         * Improved cblas.h compatibility with Intel MKL.(#185)
293         * Fixed the overflowing bug in single thread cholesky factorization.
294         * Fixed the overflowing buffer bug of multithreading hbmv and sbmv.(#174)
295
296 x86/x86-64:
297         * Added AMD Bulldozer x86-64 S/DGEMM AVX kernels. (Thank Werner Saar)
298           We will tune the performance in future.
299         * Auto-detect Intel Xeon E7540.
300         * Fixed the overflowing buffer bug of gemv. (#173)
301         * Fixed the bug of s/cdot about invalid reading NAN on x86_64. (#189)
302
303 MIPS64:
304
305 ====================================================================
306 Version 0.2.5
307 26-Nov-2012
308 common:
309         * Added NO_SHARED flag to disable generating the shared library.
310         * Compile LAPACKE with ILP64 modle when INTERFACE64=1 (#158)
311         * Export LAPACK 3.4.2 symbols in shared library. (#147)
312         * Only detect the number of physical CPU cores on Mac OSX. (#157)
313         * Fixed NetBSD build. (#155)
314         * Fixed compilation with TARGET=GENERIC. (#160)
315 x86/x86-64:
316         * Restore the original CPU affinity when calling
317           openblas_set_num_threads(1) (#153)
318         * Fixed a SEGFAULT bug in dgemv_t when m is very large.(#154)
319 MIPS64:
320
321 ====================================================================
322 Version 0.2.4
323 8-Oct-2012
324 common:
325         * Upgraded LAPACK to 3.4.2 version. (#145)
326         * Provided support for passing CFLAGS, FFLAGS, PFLAGS,
327           FPFLAGS to make. (#137)
328         * f77blas.h:compatibility for compilers without C99 complex
329           number support. (#141)
330 x86/x86-64:
331         * Added NO_AVX flag. Check OS supporting AVX on runtime. (#139)
332         * Fixed zdot incompatibility ABI issue with GCC 4.7 on
333           Windows 32-bit. (#140)
334 MIPS64:
335         * Fixed the generation of shared library bug.
336         * Fixed the detection bug on the Loongson 3A server.
337 ====================================================================
338 Version 0.2.3
339 20-Aug-2012
340 common:
341         * Fixed LAPACK unstable bug about ?laswp. (#130)
342         * Fixed the shared library bug about unloading the library on
343           Linux (#132).
344         * Fixed the compilation failure on BlueGene/P (TARGET=PPC440FP2)
345           Please use gcc and IBM xlf. (#134)
346 x86/x86-64:
347         * Supported goto_set_num_threads and openblas_set_num_threads
348           APIs in Windows. They can set the number of threads on runtime.
349
350 ====================================================================
351 Version 0.2.2
352 6-July-2012
353 common:
354         * Fixed exporting DLL functions bug on Windows/MingW
355         * Support GNU Hurd (Thank Sylvestre Ledru)
356         * Support kfreebsd kernel (Thank Sylvestre Ledru)
357 x86/x86-64:
358         * Support Intel Sandy Bridge 22nm desktop/mobile CPU
359 SPARC:
360         * Improve the detection of SPARC (Thank Sylvestre Ledru)
361
362 ====================================================================
363 Version 0.2.1
364 30-Jun-2012
365 common:
366 x86/x86-64:
367         * Fixed the SEGFAULT bug about hyper-theading
368         * Support AMD Bulldozer by using GotoBLAS2 AMD Barcelona codes
369
370 ====================================================================
371 Version 0.2.0
372 26-Jun-2012
373 common:
374         * Removed the limitation (64) of numbers of CPU cores.
375           Now, it supports 256 cores at max.
376         * Supported clang compiler.
377         * Fixed some build bugs on FreeBSD
378 x86/x86-64:
379         * Optimized Level-3 BLAS on Intel Sandy Bridge x86-64 by AVX instructions.
380           Please use gcc >= 4.6 or clang >=3.1.
381         * Support AMD Bobcat by using GotoBLAS2 AMD Barcelona codes.
382
383 ====================================================================
384 Version 0.1.1
385 29-Apr-2012
386 common:
387         * Upgraded LAPACK to 3.4.1 version. (Thank Zaheer Chothia)
388         * Supported LAPACKE, a C interface to LAPACKE. (Thank Zaheer Chothia)
389         * Fixed the build bug (MD5 and download) on Mac OSX.
390         * Auto download CUnit 2.1.2-2 from SF.net with UTEST_CHECK=1.
391         * Fxied the compatibility issue for compilers without C99 complex number
392           (e.g. Visual Studio)
393 x86/x86_64:
394         * Auto-detect Intel Sandy Bridge Core i7-3xxx & Xeon E7 Westmere-EX.
395         * Test alpha=Nan in dscale.
396         * Fixed a SEGFAULT bug in samax on x86 windows.
397
398 ====================================================================
399 Version 0.1.0
400 23-Mar-2012
401 common:
402         * Set soname of shared library on Linux.
403         * Added LIBNAMESUFFIX flag in Makefile.rule. The user can use
404           this flag to control the library name, e.g. libopenblas.a,
405           libopenblas_ifort.a or libopenblas_omp.a.
406         * Added GEMM_MULTITHREAD_THRESHOLD flag in Makefile.rule.
407           The lib use single thread in GEMM function with small matrices.
408 x86/x86_64:
409         * Used GEMV SSE/SSE2 kernels on x86 32-bit.
410         * Exported CBLAS functions in Windows DLL.
411 MIPS64:
412         * Completed Level-3 BLAS optimization on Loongson 3A CPU.
413         * Improved GEMV performance on Loongson 3A CPU.
414         * Improved Level-3 BLAS performance on Loongson 3B CPU. (EXPERIMENT)
415
416 ====================================================================
417 Version 0.1 alpha2.5
418 19-Feb-2012
419 common:
420         * Fixed missing "#include <sched.h>" bug on Mac OS X.
421           Thank Mike Nolta for the patch.
422         * Upgraded LAPACK to 3.4.0 version
423         * Fixed a bug on Mac OS X. Don't require SystemStubs on OS X.
424           SystemStubs does not exist on Lion. Thank Stefan Karpinski.
425         * Improved README with using OpenMP. Check the internal threads
426           count less than or equal to omp_get_max_threads()
427 x86/x86_64:
428         * Auto-detect Intel Core i6/i7 (Sandy Bridge) CPU with Nehalem assembly kernels
429         * Fixed some bugs on MingW 64-bit including zgemv, cdot, zdot.
430
431 ====================================================================
432 Version 0.1 alpha2.4
433 18-Sep-2011
434 common:
435         * Fixed a bug about installation. The header file "fblas77.h"
436           works fine now.
437         * Fixed #61 a building bug about setting TARGET and DYNAMIC_ARCH.
438         * Try to handle absolute path of shared library in OSX. (#57)
439           Thank Dr Kane O'Donnell.
440         * Changed the installation folder layout to $(PREFIX)/include and
441           $(PREFIX)/lib
442
443 x86/x86_64:
444         * Fixed #58 zdot/xdot SEGFAULT bug with GCC-4.6 on x86. According
445           to i386 calling convention, The callee should remove the first
446           hidden parameter.Thank Mr. John for this patch.
447
448 ====================================================================
449 Version 0.1 alpha2.3
450 5-Sep-2011
451
452 x86/x86_64:
453         *  Added DTB_ENTRIES into dynamic arch setting parameters. Now,
454            it can read DTB_ENTRIES on runtime. (Refs issue #55 on github)
455
456 ====================================================================
457 Version 0.1 alpha2.2
458 14-Jul-2011
459
460 common:
461         * Fixed a building bug when DYNAMIC_ARCH=1 & INTERFACE64=1.
462           (Refs issue #44 on github)
463
464 ====================================================================
465 Version 0.1 alpha2.1
466 28-Jun-2011
467
468 common:
469         * Stop the build and output the error message when detecting
470           fortran compiler failed. (Refs issue #42 on github)
471
472 ====================================================================
473 Version 0.1 alpha2
474 23-Jun-2011
475
476 common:
477         * Fixed blasint undefined bug in <cblas.h> file. Other software
478           could include this header successfully(Refs issue #13 on github)
479         * Fixed the SEGFAULT bug on 64 cores. On SMP server, the number
480           of CPUs or cores should be less than or equal to 64.(Refs issue #14
481           on github)
482         * Support "void goto_set_num_threads(int num_threads)" and "void
483           openblas_set_num_threads(int num_threads)" when USE_OPENMP=1
484         * Added extern "C" to support C++. Thank Tasio for the patch(Refs
485           issue #21 on github)
486         * Provided an error message when the arch is not supported.(Refs
487           issue #19 on github)
488         * Fixed issue #23. Fixed a bug of f_check script about generating link flags.
489         * Added openblas_set_num_threads for Fortran.
490         * Fixed #25 a wrong result of rotmg.
491         * Fixed a bug about detecting underscore prefix in c_check.
492         * Print the wall time (cycles) with enabling FUNCTION_PROFILE
493         * Fixed #35 a build bug with NO_LAPACK=1 & DYNAMIC_ARCH=1
494         * Added install target. You can use "make install". (Refs #20)
495
496
497 x86/x86_64:
498         * Fixed #28 a wrong result of dsdot on x86_64.
499         * Fixed #32 a SEGFAULT bug of zdotc with gcc-4.6.
500         * Fixed #33 ztrmm bug on Nehalem.
501         * Work-around #27 the low performance axpy issue with small imput size & multithreads.
502
503 MIPS64:
504         * Fixed #28 a wrong result of dsdot on Loongson3A/MIPS64.
505         * Optimized single/double precision BLAS Level3 on Loongson3A/MIPS64. (Refs #2)
506         * Optimized single/double precision axpy function on Loongson3A/MIPS64. (Refs #3)
507
508 ====================================================================
509 Version 0.1 alpha1
510 20-Mar-2011
511
512 common:
513         * Support "make  NO_LAPACK=1" to build the library without
514           LAPACK functions.
515         * Fixed randomly SEGFAULT when nodemask==NULL with above Linux 2.6.34.
516           Thank Mr.Ei-ji Nakama providing this patch. (Refs issue #12 on github)
517         * Added DEBUG=1 rule in Makefile.rule to build debug version.
518         * Disable compiling quad precision in reference BLAS library(netlib BLAS).
519         * Added unit testcases in utest/ subdir. Used  CUnit framework.
520         * Supported OPENBLAS_* & GOTO_* environment variables (Pleas see README)
521         * Imported GotoBLAS2 1.13 BSD version
522
523 x86/x86_64:
524         * On x86 32bits, fixed a bug in zdot_sse2.S line 191. This would casue
525           zdotu & zdotc failures. Instead, work-around it. (Refs issue #8 #9 on github)
526         * Modified ?axpy functions to return same netlib BLAS results
527           when incx==0 or incy==0 (Refs issue #7 on github)
528         * Modified ?swap functions to return same netlib BLAS results
529           when incx==0 or incy==0 (Refs issue #6 on github)
530         * Modified ?rot functions to return same netlib BLAS results
531           when incx==0 or incy==0 (Refs issue #4 on github)
532         * Detect Intel Westmere,Intel Clarkdale and Intel Arrandale
533           to use Nehalem codes.
534         * Fixed a typo bug about compiling dynamic ARCH library.
535 MIPS64:
536         * Improve daxpy performance on ICT Loongson 3A.
537         * Supported ICT Loongson 3A CPU (Refs issue #1 on github)
538 ====================================================================