D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17106 - [ICE] SIMD Internal error with optimizations: Internal error: backend\cgcod.c 1666
Summary: [ICE] SIMD Internal error with optimizations: Internal error: backend\cgcod.c...
Status: RESOLVED DUPLICATE of issue 17105
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 normal
Assignee: No Owner
URL:
Keywords: backend, SIMD
Depends on:
Blocks:
 
Reported: 2017-01-18 14:32 UTC by Simen Kjaeraas
Modified: 2020-12-23 00:48 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Simen Kjaeraas 2017-01-18 14:32:04 UTC
Test case:

module foo;
import core.simd;

struct bug {
    float4 value;
    
    this(float4 ) {
    }
    
    auto normalize() {
        bug t1 = __simd(XMM.DPPS, value, value);
        value = __simd(XMM.MULPS, value);
        return this;
    }
}


command line: dmd -m64 -O foo.d
Comment 1 Walter Bright 2020-12-23 00:48:33 UTC
This is the same problem as https://issues.dlang.org/show_bug.cgi?id=17105

*** This issue has been marked as a duplicate of issue 17105 ***