From a0ca0bb3c04cfe424318d01e3e95a508eeaeb281 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 6 Oct 2023 11:11:29 -0400 Subject: [PATCH] Mark non-templates as inline. --- .../x86/Implementation/PerformImplementation.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/InstructionSets/x86/Implementation/PerformImplementation.hpp b/InstructionSets/x86/Implementation/PerformImplementation.hpp index 09c49cbaf..3893a22f0 100644 --- a/InstructionSets/x86/Implementation/PerformImplementation.hpp +++ b/InstructionSets/x86/Implementation/PerformImplementation.hpp @@ -63,7 +63,7 @@ IntT overflow(IntT lhs, IntT rhs, IntT result) { // Order Number 243191; e.g. https://www.ardent-tool.com/CPU/docs/Intel/IA/243191-002.pdf // -void aaa(CPU::RegisterPair16 &ax, Status &status) { +inline void aaa(CPU::RegisterPair16 &ax, Status &status) { /* IF ((AL AND 0FH) > 9) OR (AF = 1) THEN @@ -91,7 +91,7 @@ void aaa(CPU::RegisterPair16 &ax, Status &status) { ax.halves.low &= 0x0f; } -void aad(CPU::RegisterPair16 &ax, uint8_t imm, Status &status) { +inline void aad(CPU::RegisterPair16 &ax, uint8_t imm, Status &status) { /* tempAL ← AL; tempAH ← AH; @@ -108,7 +108,7 @@ void aad(CPU::RegisterPair16 &ax, uint8_t imm, Status &status) { status.parity = status.zero = ax.halves.low; } -void aam(CPU::RegisterPair16 &ax, uint8_t imm, Status &status) { +inline void aam(CPU::RegisterPair16 &ax, uint8_t imm, Status &status) { /* tempAL ← AL; AH ← tempAL / imm8; (* imm8 is set to 0AH for the AAD mnemonic *) @@ -124,7 +124,7 @@ void aam(CPU::RegisterPair16 &ax, uint8_t imm, Status &status) { status.parity = status.zero = ax.halves.low; } -void aas(CPU::RegisterPair16 &ax, Status &status) { +inline void aas(CPU::RegisterPair16 &ax, Status &status) { /* IF ((AL AND 0FH) > 9) OR (AF = 1) THEN