Opened 18 years ago

Closed 18 years ago

Last modified 5 years ago

#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 fingolfin, 18 years ago

Component: --Unset--
Summary: Problems when trying to compile Altivec codeMake Altivec code working on non-OSX systems

comment:2 by fingolfin, 18 years ago

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.

comment:3 by fingolfin, 18 years ago

The altivec code has been removed, so this item is now kind obsolete ;-).

comment:4 by fingolfin, 18 years ago

Owner: set to fingolfin
Resolution: outdated
Status: newclosed

comment:5 by digitall, 5 years ago

Component: Graphics: Scalers
Note: See TracTickets for help on using tickets.