30 May 2012 11:41
multi-ifield issue
Aurelien Buhrig <aurelien.buhrig.gcc <at> gmail.com>
2012-05-30 09:41:14 GMT
2012-05-30 09:41:14 GMT
Hi, I think there is a bug when defining an instruction with a multi-ifield in its format. I defined : (dnf f-0 "bit 0" () 0 1) (dnf f-5 "bit 5" () 5 1) (dsmf f-05 "bit 0 & 5" () (f-0 f-5)) And when I define an insn with the following format: (+ (f-05 0) F_MISC F_ADOP ADA_RA sreg dreg) I get : Performing sanity checks ... ERROR: Wrong type argument in position 2: 3 No backtrace available. Everything works fine if I define: (+ (f-0 0) (f-5 0) F_MISC F_ADOP ADA_RA sreg dreg) I'm not a scheme expert and was not able to figure out what's wrong... Cheers, Aurélien
RSS Feed