rakslice / leaix

AMD am799x PCnet-II PCI (Lance) Ethernet network driver for AIX PS/2 1.3, ported from NetBSD 1.1
Other
7 stars 1 forks source link

Try dividing and conquering to find the optimization problem #7

Open rakslice opened 4 months ago

rakslice commented 4 months ago

I found in the past that building with -O2 (in gcc 2.7.2.3; idk what opt metaware even has) makes a non-working driver.

Divide and conquer the functions into different object files with different optimization settings to figure out where the issue is, and sort it out or at least isolate it from code that can be optimized.