@@ -12,9 +12,9 @@ class HyperCPU::CPU::CPU_InstrImpl {
1212 static constexpr T3 __hcpu_cmp_rr_impl (HyperCPU::OperandContainer& op1, HyperCPU::OperandContainer& op2, CPU & /* cpu */ ) {
1313 static_assert (std::is_same_v<T1 , T2 >); // Locked by current CPU specification
1414
15- return HyperALU::__hcpu_cmp (
15+ return HyperALU::__hcpu_cmp< T1 > (
1616 HyperCPU::bit_cast_from<T1 >(op1.ptr <T1 >()),
17- HyperCPU::bit_cast_from<T2 >(op2.ptr <T2 >())
17+ HyperCPU::bit_cast_from<T1 >(op2.ptr <T2 >())
1818 );
1919 }
2020
@@ -26,7 +26,7 @@ class HyperCPU::CPU::CPU_InstrImpl {
2626 std::uint64_t ptr;
2727 std::memcpy (&ptr, op2.ptr <void >(), sizeof (ptr));
2828
29- return HyperALU::__hcpu_cmp (
29+ return HyperALU::__hcpu_cmp< T1 > (
3030 HyperCPU::bit_cast_from<T1 >(op1.ptr <T1 >()),
3131 cpu.mem_controller ->Read <T1 >(ptr)
3232 );
@@ -37,7 +37,7 @@ class HyperCPU::CPU::CPU_InstrImpl {
3737 static constexpr T3 __hcpu_cmp_rm_impl (HyperCPU::OperandContainer& op1, HyperCPU::OperandContainer& op2, CPU & cpu) {
3838 static_assert (std::is_same_v<T2 , std::uint64_t >); // Locked by current CPU specification
3939
40- return HyperALU::__hcpu_cmp (
40+ return HyperALU::__hcpu_cmp< T1 > (
4141 HyperCPU::bit_cast_from<T1 >(op1.ptr <T1 >()),
4242 cpu.mem_controller ->Read <T1 >(op2)
4343 );
@@ -48,7 +48,7 @@ class HyperCPU::CPU::CPU_InstrImpl {
4848 static constexpr T3 __hcpu_cmp_rimm_impl (HyperCPU::OperandContainer& op1, HyperCPU::OperandContainer& op2, CPU & /* cpu */ ) {
4949 static_assert (std::is_same_v<T1 , T2 >); // Locked by current CPU specification
5050
51- return HyperALU::__hcpu_cmp (
51+ return HyperALU::__hcpu_cmp< T1 > (
5252 HyperCPU::bit_cast_from<T1 >(op1.ptr <T1 >()),
5353 HyperCPU::bit_cast<T1 >(op2)
5454 );
@@ -59,9 +59,9 @@ class HyperCPU::CPU::CPU_InstrImpl {
5959 static constexpr T3 __hcpu_cmp_rmm_impl (HyperCPU::OperandContainer& op1, HyperCPU::OperandContainer& op2, CPU & cpu) {
6060 static_assert (std::is_same_v<T1 , T2 >); // Locked by current CPU specification
6161
62- return HyperALU::__hcpu_cmp (
62+ return HyperALU::__hcpu_cmp< T1 > (
6363 cpu.mem_controller ->Read <T1 >(op1.deref <std::uint64_t >()),
64- cpu.mem_controller ->Read <T2 >(HyperCPU::bit_cast<T2 >(op2))
64+ cpu.mem_controller ->Read <T1 >(HyperCPU::bit_cast<T2 >(op2))
6565 );
6666 }
6767
@@ -70,7 +70,7 @@ class HyperCPU::CPU::CPU_InstrImpl {
7070 static constexpr T3 __hcpu_cmp_rmr_impl (HyperCPU::OperandContainer& op1, HyperCPU::OperandContainer& op2, CPU & cpu) {
7171 static_assert (std::is_same_v<T1 , std::uint64_t >); // Locked by current CPU specification
7272
73- return HyperALU::__hcpu_cmp (
73+ return HyperALU::__hcpu_cmp< T2 > (
7474 cpu.mem_controller ->Read <T2 >(op1.deref <T1 >()),
7575 op2.deref <T2 >()
7676 );
@@ -81,7 +81,7 @@ class HyperCPU::CPU::CPU_InstrImpl {
8181 static constexpr T3 __hcpu_cmp_rmimm_impl (HyperCPU::OperandContainer& op1, HyperCPU::OperandContainer& op2, CPU & cpu) {
8282 static_assert (std::is_same_v<T1 , std::uint64_t >); // Locked by current CPU specification
8383
84- return HyperALU::__hcpu_cmp (
84+ return HyperALU::__hcpu_cmp< T2 > (
8585 cpu.mem_controller ->Read <T2 >(op1.deref <T1 >()),
8686 HyperCPU::bit_cast<T2 >(op2)
8787 );
@@ -92,7 +92,7 @@ class HyperCPU::CPU::CPU_InstrImpl {
9292 static constexpr T3 __hcpu_cmp_mr_impl (HyperCPU::OperandContainer& op1, HyperCPU::OperandContainer& op2, CPU & cpu) {
9393 static_assert (std::is_same_v<T1 , std::uint64_t >); // Locked by current CPU specification
9494
95- return HyperALU::__hcpu_cmp (
95+ return HyperALU::__hcpu_cmp< T2 > (
9696 cpu.mem_controller ->Read <T2 >(HyperCPU::bit_cast<T1 >(op1)),
9797 op2.deref <T2 >()
9898 );
0 commit comments