Perl script used to generate FMA instruction patterns