Skip to content

Commit 7c6d66e

Browse files
committed
Fix signature of memory_f80 intrinsics
1 parent 2302aa8 commit 7c6d66e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

include/remill/Arch/Runtime/Intrinsics.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extern "C" {
4747
[[gnu::used]] extern float64_t __remill_read_memory_f64(Memory *, addr_t);
4848

4949
[[gnu::used]] extern Memory *__remill_read_memory_f80(Memory *, addr_t,
50-
native_float80_t &);
50+
float80_t &);
5151

5252
[[gnu::used]] extern float128_t __remill_read_memory_f128(Memory *, addr_t);
5353

@@ -58,7 +58,7 @@ extern "C" {
5858
float64_t);
5959

6060
[[gnu::used]] extern Memory *
61-
__remill_write_memory_f80(Memory *, addr_t, const native_float80_t &);
61+
__remill_write_memory_f80(Memory *, addr_t, const float80_t &);
6262

6363
[[gnu::used]] extern Memory *__remill_write_memory_f128(Memory *, addr_t,
6464
float128_t);

tests/AArch64/Run.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ MAKE_RW_FP_MEMORY(64)
147147
MAKE_RW_FP_MEMORY(128)
148148

149149
NEVER_INLINE Memory *__remill_read_memory_f80(Memory *, addr_t addr,
150-
native_float80_t &out) {
150+
float80_t &out) {
151151
out = AccessMemory<native_float80_t>(addr);
152152
return nullptr;
153153
}
154154

155155
NEVER_INLINE Memory *__remill_write_memory_f80(Memory *, addr_t addr,
156-
const native_float80_t &in) {
156+
const float80_t &in) {
157157
AccessMemory<native_float80_t>(addr) = in;
158158
return nullptr;
159159
}

tests/X86/Run.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,13 @@ MAKE_RW_FP_MEMORY(64)
186186
MAKE_RW_FP_MEMORY(128)
187187

188188
NEVER_INLINE Memory *__remill_read_memory_f80(Memory *, addr_t addr,
189-
native_float80_t &out) {
189+
float80_t &out) {
190190
out = AccessMemory<native_float80_t>(addr);
191191
return nullptr;
192192
}
193193

194194
NEVER_INLINE Memory *__remill_write_memory_f80(Memory *, addr_t addr,
195-
const native_float80_t &in) {
195+
const float80_t &in) {
196196
AccessMemory<native_float80_t>(addr) = in;
197197
return nullptr;
198198
}

0 commit comments

Comments
 (0)