We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c237730 commit 480e84fCopy full SHA for 480e84f
source/mir/utility.d
@@ -554,14 +554,6 @@ ExtMulResult!U extMul(U)(in U a, in U b) @nogc nothrow pure @safe
554
return ExtMulResult!U(r[0], r[1]);
555
}
556
557
- else
558
- version(D_InlineAsm_X86_64)
559
- {
560
- static if (is(U == ulong) && !is(ucent))
561
562
- return extMul_X86_64(a, b);
563
- }
564
565
566
567
U al = cast(H)a;
@@ -590,15 +582,3 @@ unittest
590
582
enum c = extMul(a, b); // Compile time algorithm
591
583
assert(extMul(a, b) == c); // Fast runtime algorihtm
592
584
593
-
594
-private ExtMulResult!ulong extMul_X86_64()(ulong a, ulong b)
595
-{
596
- // pragma(inline, true);
597
- asm @safe pure nothrow @nogc
598
599
- naked;
600
- mov RAX, RDI;
601
- mul RSI;
602
- ret;
603
604
-}
0 commit comments