Skip to content

Commit

Permalink
1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
BartmanAbyss committed Nov 5, 2023
1 parent b1f1570 commit 55efc4c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to the "amiga-debug" extension will be documented in this file.
See PR links for more information.

## 1.7.5
- FIX: fixed missing `obj` and `out` directories in template project
- FIX: `__attribute__((always_inline))` in `gcc8_c_support.h` for `-Ofast`

## 1.7.4
- FIX: 1.7.3 was broken for Linux/MacOS

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"url": "https://github.com/BartmanAbyss/vscode-amiga-debug"
},
"version": "1.7.4",
"version": "1.7.5",
"license": "GPL-3.0-or-later",
"engines": {
"vscode": "^1.46.0"
Expand Down
8 changes: 4 additions & 4 deletions template/support/gcc8_c_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,19 @@ void debug_save(const void* addr, unsigned int size, const char* name);
extern const void* incbin_ ## name ## _end;\
const void* name = &incbin_ ## name ## _start;

inline unsigned int muluw(unsigned short a, unsigned short b) {
__attribute__((always_inline)) inline unsigned int muluw(unsigned short a, unsigned short b) {
asm("muluw %1,%0":"+d"(a): "mid"(b): "cc");
return a;
}
inline int mulsw(short a, short b) {
__attribute__((always_inline)) inline int mulsw(short a, short b) {
asm("mulsw %1,%0":"+d"(a): "mid"(b): "cc");
return a;
}
inline unsigned short divuw(unsigned int a, unsigned short b) {
__attribute__((always_inline)) inline unsigned short divuw(unsigned int a, unsigned short b) {
asm("divuw %1,%0":"+d"(a): "mid"(b): "cc");
return a;
}
inline short divsw(int a, short b) {
__attribute__((always_inline)) inline short divsw(int a, short b) {
asm("divsw %1,%0":"+d"(a): "mid"(b): "cc");
return a;
}
Expand Down

0 comments on commit 55efc4c

Please sign in to comment.