Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[critical] fix Issue 9449 - Static arrays of 128bit types segfault on initializatio... #3784

Merged
merged 1 commit into from
Jul 21, 2014

Conversation

WalterBright
Copy link
Member

...n. Incorrect calling of memset128ii

This also exposed a code gen issue with 32 bit OSX SIMD code, also fixed here.

https://issues.dlang.org/show_bug.cgi?id=9449

Requires dlang/druntime#901 to be pulled first.

@WalterBright WalterBright changed the title fix Issue 9449 - Static arrays of 128bit types segfault on initializatio... [critical] fix Issue 9449 - Static arrays of 128bit types segfault on initializatio... Jul 19, 2014
@WalterBright
Copy link
Member Author

This needs to be pulled. It's critical, and shouldn't be controversial.

@dnadlinger
Copy link
Member

Auto-merge toggled on

@dnadlinger
Copy link
Member

Without knowing your backend too much, it seems a bit hacky to hard-code the vector alignment handling like that, but from what I can make out, it seems like a reasonable fix for the specific issues for now.

We really need to figure out how to handle DMD backend changes. Maybe it's time (with DDMD, probably) to split off the Digital Mars glue layer/backend into a separate repository with less strict code review policies?

dnadlinger added a commit that referenced this pull request Jul 21, 2014
[critical] fix Issue 9449 - Static arrays of 128bit types segfault on initializatio...
@dnadlinger dnadlinger merged commit c3ccc41 into dlang:master Jul 21, 2014
@WalterBright
Copy link
Member Author

The back end is a giant mess of special cases. Look at the instruction set!

I think what we've got for process is ok.

@WalterBright WalterBright deleted the fix9449 branch July 21, 2014 00:30
LemonBoy added a commit to LemonBoy/dmd that referenced this pull request Mar 27, 2018
Hopefully completes what dlang#3784 started.
ibuclaw pushed a commit to ibuclaw/dmd that referenced this pull request Jul 10, 2022
core.sys.elf: Move shared ELF types and values to a common module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants