mccalpin@vax1.acs.udel.EDU (John D Mccalpin) (06/11/90)
I just noticed that the IIOR function generates an AND operation in the following code! integer*2 i1,i2,i3 i1 = 8 i2 = 512 i3 = iior(i1.i2) print *,i3 end Thus code gives a result of zero! I looked at the code, and there is an AND in there instead of an OR. Switching to IOR gives the correct result.... -- John D. McCalpin mccalpin@vax1.udel.edu Assistant Professor mccalpin@delocn.udel.edu College of Marine Studies, U. Del. mccalpin@scri1.scri.fsu.edu
calvin@dinkum.sgi.com (Calvin H. Vu) (06/12/90)
That problem existed in MIPS 2.0 release (SGI 3.3 release) and earlier. It has been fixed in MIPS 2.10 release and I'll try to put it in our 3.3 maintenance release if we do have one. Thanks for letting us know. -------------------------------------------------------------------------- Calvin H. Vu | "We are each of us angels with Silicon Graphics Computer Systems | only one wing. And we can only calvin@sgi.com (415) 962-3679 | fly embracing each other."