|
25 | 25 | #endif |
26 | 26 | #include "psx_gpu_simd.h" |
27 | 27 | #include "psx_gpu_offsets.h" |
| 28 | +#include "../../../include/compiler_features.h" |
28 | 29 |
|
29 | 30 | #if 0 |
30 | 31 | void dump_r_d(const char *name, void *dump); |
@@ -1479,8 +1480,7 @@ void setup_spans_up_down(psx_gpu_struct *psx_gpu, vertex_struct *v_a, |
1479 | 1480 |
|
1480 | 1481 | // this is some hacky mess, can this be improved somehow? |
1481 | 1482 | // ideally change things to not have to do this hack at all |
1482 | | -void __attribute__((noinline)) |
1483 | | -setup_blocks_uv_adj_hack(psx_gpu_struct *psx_gpu, block_struct *block, |
| 1483 | +noinline void setup_blocks_uv_adj_hack(psx_gpu_struct *psx_gpu, block_struct *block, |
1484 | 1484 | edge_data_struct *span_edge_data, vec_4x32u *span_uvrg_offset) |
1485 | 1485 | { |
1486 | 1486 | size_t span_i = span_uvrg_offset - psx_gpu->span_uvrg_offset; |
@@ -4097,9 +4097,8 @@ void setup_sprite_untextured_512(psx_gpu_struct *psx_gpu, s32 x, s32 y, s32 u, |
4097 | 4097 |
|
4098 | 4098 | #endif |
4099 | 4099 |
|
4100 | | -static void __attribute__((noinline)) |
4101 | | -setup_sprite_untextured_simple(psx_gpu_struct *psx_gpu, s32 x, s32 y, s32 u, |
4102 | | - s32 v, s32 width, s32 height, u32 color) |
| 4100 | +static noinline void setup_sprite_untextured_simple(psx_gpu_struct *psx_gpu, |
| 4101 | + s32 x, s32 y, s32 u, s32 v, s32 width, s32 height, u32 color) |
4103 | 4102 | { |
4104 | 4103 | u32 r = color & 0xFF; |
4105 | 4104 | u32 g = (color >> 8) & 0xFF; |
|
0 commit comments