I'm using petalinux on a zynq ultrascale+ (aarch64-linux-gnu-gcc)
I have a dummy script initializing udma/dma and a custom fft accelerator, and sending data to the devices.
Without optimization flags everything works fine.
However as soon as I optimize for "-O1" sometimes it will finish executing the script and some others it will stall.
And over "-O2" It will never finish executing.
Has anyone experienced something similar, Is there something that optimization flags could be doing to cause this behavior?
I'm using petalinux on a zynq ultrascale+ (aarch64-linux-gnu-gcc)
I have a dummy script initializing udma/dma and a custom fft accelerator, and sending data to the devices. Without optimization flags everything works fine. However as soon as I optimize for "-O1" sometimes it will finish executing the script and some others it will stall. And over "-O2" It will never finish executing.
Has anyone experienced something similar, Is there something that optimization flags could be doing to cause this behavior?