Skip to content

Commit 1cbade4

Browse files
committed
v1.4.1.4
1 parent 94b83dd commit 1cbade4

File tree

11 files changed

+19
-97
lines changed

11 files changed

+19
-97
lines changed

.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 0 additions & 55 deletions
This file was deleted.

MANIFEST.in

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313

1414
Modified by wym6912 wym6912@outlook.com
1515

16+
## Updates (v1.4.1.4)
17+
18+
- Fix a critical bug on freeing SIMD varibles in Windows programs
19+
- Fix a program display bug in `abpoa_profile`
20+
1621
## Updates (v1.4.1.3)
1722

1823
- Fix a bug related to uninitialized values in local mode

abPOA.rc

0 Bytes
Binary file not shown.

abPOA_profile.rc

0 Bytes
Binary file not shown.

abpoa.pc.in

Lines changed: 0 additions & 9 deletions
This file was deleted.

include/simd_instruction.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@
5151
#define SIMD_AVX512F 0x100
5252
#define SIMD_AVX512BW 0x200
5353

54+
#if (defined(_WIN32) || defined(_WIN64))
55+
#define SIMDFree(x) _aligned_free(x)
56+
#else
5457
// #define SIMDFree(x) _mm_free(x)
5558
// posix_memalign and free
59+
5660
#define SIMDFree(x) free(x)
61+
#endif
5762

5863
// Shift, Blend, ... for 8/16 and 32/64
5964
#ifdef __AVX512BW__

src/abpoa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ char PROG[20] = "abpoa";
2020
#define _bO BOLD UNDERLINE "O" NONE
2121
#define _bA BOLD UNDERLINE "A" NONE
2222
char DESCRIPTION[200] = _ba "daptive " _bb "anded " _bP "artial " _bO "rder " _bA "lignment";
23-
char VERSION[20] = "1.4.1.3";
23+
char VERSION[20] = "1.4.1.4";
2424
char CONTACT[30] = "gaoy1@chop.edu";
2525

2626
const struct option abpoa_long_opt [] = {

src/abpoa_profile.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
#endif
1515

1616
char NAME[20] = "abPOA";
17-
char PROG[20] = "abpoa";
17+
char PROG[20] = "abpoa_profile";
1818
#define _ba BOLD UNDERLINE "a" NONE
1919
#define _bb BOLD UNDERLINE "b" NONE
2020
#define _bP BOLD UNDERLINE "P" NONE
2121
#define _bO BOLD UNDERLINE "O" NONE
2222
#define _bA BOLD UNDERLINE "A" NONE
23-
char DESCRIPTION[200] = _ba "daptive " _bb "anded " _bP "artial " _bO "rder " _bA "lignment profile process";
24-
char VERSION[20] = "1.4.1.3";
23+
char DESCRIPTION[200] = _ba "daptive " _bb "anded " _bP "artial " _bO "rder " _bA "lignment profile-profile mode";
24+
char VERSION[20] = "1.4.1.4";
2525
char CONTACT[30] = "gaoy1@chop.edu";
2626

2727
int need_prealign;

src/simd_instruction.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@
5151
#define SIMD_AVX512F 0x100
5252
#define SIMD_AVX512BW 0x200
5353

54+
#if (defined(_WIN32) || defined(_WIN64))
55+
#define SIMDFree(x) _aligned_free(x)
56+
#else
5457
// #define SIMDFree(x) _mm_free(x)
5558
// posix_memalign and free
59+
5660
#define SIMDFree(x) free(x)
61+
#endif
5762

5863
// Shift, Blend, ... for 8/16 and 32/64
5964
#ifdef __AVX512BW__

0 commit comments

Comments
 (0)