#7452 closed feature request (outdated)
Make Altivec code working on non-OSX systems
Reported by: | SF/capehill | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Graphics: Scalers |
Version: | Keywords: | ||
Cc: | Game: |
Description
I tried to compile Altivec code in common/scaler/hq3x.h on GCC 3.4.3 (Cygwin, host=ppc-amigaos) but it gives me errors.
For example, this:
#ifdef USE_ALTIVEC // The YUV threshold. static const vector unsigned char vThreshold = (vector unsigned char)((vector unsigned int)0x00300706);
Gives an error of "different sized vectors" or something similar.
Does this code compile for MacOS?
Ticket imported from: #1328365. Ticket imported from: feature-requests/268.
Change History (5)
comment:1 by , 19 years ago
Component: | --Unset-- |
---|---|
Summary: | Problems when trying to compile Altivec code → Make Altivec code working on non-OSX systems |
comment:2 by , 19 years ago
comment:3 by , 19 years ago
The altivec code has been removed, so this item is now kind obsolete ;-).
comment:4 by , 19 years ago
Owner: | set to |
---|---|
Resolution: | → outdated |
Status: | new → closed |
comment:5 by , 6 years ago
Component: | → Graphics: Scalers |
---|
Note:
See TracTickets
for help on using tickets.
Yes, it works perfectly fine under Mac OS X. I don't think that that GCC 3.x on non-apple systems has a fully compatible Altivec extension syntax. You may have somewhat more luck using GCC 4.x
Moving this to Feature Request tracker.