if I change to Define Osc 32 the code will run slower (tested before with pause 1000 and led blink). Weird things happen with this 18F2580 MCU
pll only works with primary clock sources , if you set the int-osc as primary clock then it works as expected

Code:
DEFINE OSC 32


    OSCCON =% 01110000 '8MHz INTOSC 
    OSCTUNE=% 01000000 '