Min and max values of an array
Re: Min and max values of an array
Doesn't work under c-backend anyway. It is written in ASM.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Min and max values of an array
Maybe you missed that EndModule.
Still works
Code: Select all
Global Dim T1.l(300)
Define T
For T = 0 To 300
T1(T) = Random(10000, 1)
Next
Define lMin, LMax
MinMax::MinMaxL(@T1(0), 301, @lMin, @LMax)
Debug lMin
Debug LMax
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Re: Min and max values of an array
Why should not? I thought C-backend also supports ASM parts (and it should)
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Re: Min and max values of an array
Must be rewritten from ASM -> C-Backend ASM
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Min and max values of an array
Re: Min and max values of an array
But I don't think much of Intel-ASM inside C-backend, because it doesn't work with ARM processors.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Min and max values of an array
But I don't think much of Intel-ASM inside C-backend, because it doesn't work with ARM processors.
So only ARM-asm is the question, while x86 still works as before.We are waiting for someone who can help with this.
Hah, yes that should be hard enough to find someone good in that.
There are no old farts who knew ARM ASM long ago, and a new farts just won't learn it because they writing code in some python or whatever
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Re: Min and max values of an array
There are some vector extensions for gcc that maybe could be used
https://gcc.gnu.org/onlinedocs/gcc/Vect ... sions.html
but I don't know if those are also available on arm.
https://gcc.gnu.org/onlinedocs/gcc/Vect ... sions.html
but I don't know if those are also available on arm.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: Min and max values of an array
I won't say about this (I didn't dig at such levels for a long enough at all).wilbert wrote: ↑Wed Mar 29, 2023 10:46 am There are some vector extensions for gcc that maybe could be used
https://gcc.gnu.org/onlinedocs/gcc/Vect ... sions.html
but I don't know if those are also available on arm.
But glad to see you still here and doing something
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Re: Min and max values of an array
Thanks
I do still visit the forum but haven't posted much lately.
A lot of my posts were related to asm or macOS.
Asm has become less relevant with the C backend and my mac doesn't receive updates anymore since a few years (but is still working fine for my own needs).
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)