| Summary: | Problems with Altivec alpha-blitting code | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Richard Drummond <evilrich> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 1.2.9 | ||
| Hardware: | PowerPC | ||
| OS: | Mac OS X (All) | ||
| Attachments: | Fix for altivec alpha-blitting | ||
|
Description
Richard Drummond
2006-01-07 07:47:08 UTC
Created attachment 18 [details]
Fix for altivec alpha-blitting
Are you sure Altivec can't be used in video memory? I would think it would just look like regular address space to the CPU, but I've never tried. --ryan. > Are you sure Altivec can't be used in video memory?
Fairly sure. I get a alignment exception here on AmigaOS when trying to do a load to an Altivec register from video memory (even when the address to load from is 16-byte-aligned). I've been told that Altivec only works in cacheable memory (video memory is cache inhibited).
Sounds reasonable. Patch applied. Thanks! --ryan. Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL. --ryan. |