Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 9c0d4f9

Browse files
WalterBrightthewilsonator
authored andcommitted
fix Issue 23046 - [REG][CODEGEN] __simd(XMM.LODLPS) bad codegen
1 parent e361d20 commit 9c0d4f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/simd.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,13 +480,15 @@ version (D_SIMD)
480480
/*****
481481
* For "store" operations of the form:
482482
* op1 op= op2
483+
* such as MOVLPS.
483484
* Returns:
484485
* op2
485486
* These cannot be marked as pure, as semantic() doesn't check them.
486487
*/
487488
@safe void16 __simd_sto(XMM opcode, void16 op1, void16 op2);
488489
@safe void16 __simd_sto(XMM opcode, double op1, void16 op2); ///
489490
@safe void16 __simd_sto(XMM opcode, float op1, void16 op2); ///
491+
@safe void16 __simd_sto(XMM opcode, void16 op1, long op2); ///
490492

491493
///
492494
unittest

0 commit comments

Comments
 (0)