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