Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!THINK.COM!taylor From: taylor@THINK.COM Newsgroups: gnu.utils.bug Subject: bug in GAS (NS32K) exts/inss instructions Message-ID: <8905220645.AA15626@odin.think.com> Date: 22 May 89 06:45:20 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 33 For the exts/inss instructions, the size of the bit field is allowed to be from 1 to 32 bits long. But, gas only allows the bit field to be from 1 to 31 bits long. The fix is easy. Here it is. RCS file: RCS/ns32k.c,v retrieving revision 1.4 diff -c -r1.4 ns32k.c *** /tmp/,RCSt1a15610 Mon May 22 02:38:30 1989 --- ns32k.c Sat May 20 01:00:34 1989 *************** *** 847,853 **** IIF(11,2,42, (unsigned long)argv[i], /* i always 3 here */ 0,0,0,0,0, ! bit_fix_new(5,0,1,31,-1,0,-1),-1,0); break; case 'i': iif.instr_size+=1; --- 847,853 ---- IIF(11,2,42, (unsigned long)argv[i], /* i always 3 here */ 0,0,0,0,0, ! bit_fix_new(5,0,1,32,-1,0,-1),-1,0); break; case 'i': iif.instr_size+=1; David -- David Taylor taylor@think.com, ...!think!taylor