Iran test-fired an anti-warship cruise missile with a range of 1,000km (600 miles) capable of reaching US Navy ships in the Persian Gulf and Sea of Oman, state television reported on Saturday.