Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness.

This commit is contained in:
OBattler
2022-11-17 22:44:06 +01:00
parent 74eb753d59
commit 27ebb27db7
108 changed files with 682 additions and 680 deletions

View File

@@ -1858,7 +1858,7 @@ static int fpu_st_timestamp[8];
dependent uop chains*/
static int last_uop_timestamp = 0;
void decode_flush()
void decode_flush(void)
{
int c;
int uop_timestamp = 0;
@@ -2112,7 +2112,7 @@ static void decode_instruction(const risc86_instruction_t *ins, uint64_t deps, u
}
}
void codegen_timing_k6_block_start()
void codegen_timing_k6_block_start(void)
{
int c;
@@ -2136,7 +2136,7 @@ void codegen_timing_k6_block_start()
fpu_st_timestamp[c] = 0;
}
void codegen_timing_k6_start()
void codegen_timing_k6_start(void)
{
if (cpu_s->cpu_type == CPU_K6)
{
@@ -2324,7 +2324,7 @@ void codegen_timing_k6_opcode(uint8_t opcode, uint32_t fetchdat, int op_32, uint
codegen_block_cycles += (last_complete_timestamp - old_last_complete_timestamp);
}
void codegen_timing_k6_block_end()
void codegen_timing_k6_block_end(void)
{
if (decode_buffer.nr_uops)
{
@@ -2334,7 +2334,7 @@ void codegen_timing_k6_block_end()
}
}
int codegen_timing_k6_jump_cycles()
int codegen_timing_k6_jump_cycles(void)
{
if (decode_buffer.nr_uops)
return 1;