Living in Spain with an italian permesso di soggiorno

Please I want to know for how long I can stay in Spain with a permesso di soggiorno of Italy

The PdS is only for Italy.

An EU National can stay (as in a visit not moving) in spain for three months permanently or for a total of 183 days in a year, without having to register