Skip to content

Commit

Permalink
v1.4.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wym6912 committed Aug 9, 2023
1 parent 94b83dd commit 1cbade4
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 97 deletions.
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

55 changes: 0 additions & 55 deletions CMakeLists.txt

This file was deleted.

21 changes: 0 additions & 21 deletions MANIFEST.in

This file was deleted.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@

Modified by wym6912 wym6912@outlook.com

## Updates (v1.4.1.4)

- Fix a critical bug on freeing SIMD varibles in Windows programs
- Fix a program display bug in `abpoa_profile`

## Updates (v1.4.1.3)

- Fix a bug related to uninitialized values in local mode
Expand Down
Binary file modified abPOA.rc
Binary file not shown.
Binary file modified abPOA_profile.rc
Binary file not shown.
9 changes: 0 additions & 9 deletions abpoa.pc.in

This file was deleted.

5 changes: 5 additions & 0 deletions include/simd_instruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,14 @@
#define SIMD_AVX512F 0x100
#define SIMD_AVX512BW 0x200

#if (defined(_WIN32) || defined(_WIN64))
#define SIMDFree(x) _aligned_free(x)
#else
// #define SIMDFree(x) _mm_free(x)
// posix_memalign and free

#define SIMDFree(x) free(x)
#endif

// Shift, Blend, ... for 8/16 and 32/64
#ifdef __AVX512BW__
Expand Down
2 changes: 1 addition & 1 deletion src/abpoa.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ char PROG[20] = "abpoa";
#define _bO BOLD UNDERLINE "O" NONE
#define _bA BOLD UNDERLINE "A" NONE
char DESCRIPTION[200] = _ba "daptive " _bb "anded " _bP "artial " _bO "rder " _bA "lignment";
char VERSION[20] = "1.4.1.3";
char VERSION[20] = "1.4.1.4";
char CONTACT[30] = "gaoy1@chop.edu";

const struct option abpoa_long_opt [] = {
Expand Down
6 changes: 3 additions & 3 deletions src/abpoa_profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
#endif

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

int need_prealign;
Expand Down
5 changes: 5 additions & 0 deletions src/simd_instruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,14 @@
#define SIMD_AVX512F 0x100
#define SIMD_AVX512BW 0x200

#if (defined(_WIN32) || defined(_WIN64))
#define SIMDFree(x) _aligned_free(x)
#else
// #define SIMDFree(x) _mm_free(x)
// posix_memalign and free

#define SIMDFree(x) free(x)
#endif

// Shift, Blend, ... for 8/16 and 32/64
#ifdef __AVX512BW__
Expand Down

0 comments on commit 1cbade4

Please sign in to comment.