Request for help
Using PB3.5 on PIII machine
Trying to use SIMD instructions in PowerBASIC
using $INLINE and variations thereof.
Have tried both Windows98 and DOS
CPUID instruction was used to determine that machine
does have SIMD capability.
executing the parallel addition instructiom
register to register, appears parmissible.
But attempts to move data to/from registers and to perform
register/memory arithmetic would not work. Using PB from
Windows when doing this results in illegal operation error
and close of program. In DOS mode the program stops and after
Ctrl-Pause, Escape, the instruction is highlighted in blue.
The requisite registers mentioned in the manual were pushed
and the data were aligned on 16 byte boundaries.
Both 16 and 32 bit addressing(using the &h66 prefix) were tried.
Any reasonable suggestion welcome. B.
Using PB3.5 on PIII machine
Trying to use SIMD instructions in PowerBASIC
using $INLINE and variations thereof.
Have tried both Windows98 and DOS
CPUID instruction was used to determine that machine
does have SIMD capability.
executing the parallel addition instructiom
register to register, appears parmissible.
But attempts to move data to/from registers and to perform
register/memory arithmetic would not work. Using PB from
Windows when doing this results in illegal operation error
and close of program. In DOS mode the program stops and after
Ctrl-Pause, Escape, the instruction is highlighted in blue.
The requisite registers mentioned in the manual were pushed
and the data were aligned on 16 byte boundaries.
Both 16 and 32 bit addressing(using the &h66 prefix) were tried.
Any reasonable suggestion welcome. B.
Comment