The story
Spanish ‘’Alpiste’’, from the Mozarabic word, ‘’al-bisht’’ the alpist, from ‘’al-‘’, Arabic the + bisht alpist, from Medieval Latin ‘’pistum’’, from Latin, ‘’neuter of pistus’’, past participle of ‘’pinsere’’, (to pound, crush)
Etymology from Wiktionary, CC BY-SA 4.0.