Path: utzoo!utgpu!water!watmath!clyde!mcdchg!ddsw1!bigtex!james From: james@bigtex.uucp (James Van Artsdalen) Newsgroups: comp.unix.microport Subject: Fix for GNU C 1.25 signed extension Message-ID: <5804@bigtex.uucp> Date: 10 Aug 88 20:47:16 GMT Organization: F.B.N. Software, Austin TX Lines: 30 This is needed to make signed extention from byte to word work. The compiler was generating an impossible op-code/operand combination. There are still problems in the floating point handling: don't even bother with perl yet. diff -c -r1.1 /usr4/src/gcc-1.25/i386.md *** /tmp/,RCSt1a05237 Wed Aug 10 15:44:53 1988 --- /usr4/src/gcc-1.25/i386.md Wed Aug 10 15:24:57 1988 *************** *** 550,556 (sign_extend:HI (match_operand:QI 1 "general_operand" "qm")))] "" ! "movs%B%L %1,%0") (define_insn "extendqisi2" [(set (match_operand:SI 0 "general_operand" "=r") --- 550,556 ----- (sign_extend:HI (match_operand:QI 1 "general_operand" "qm")))] "" ! "movs%B%W %1,%0") (define_insn "extendqisi2" [(set (match_operand:SI 0 "general_operand" "=r") -- James R. Van Artsdalen ...!uunet!utastro!bigtex!james "Live Free or Die" Home: 512-346-2444 Work: 328-0282; 110 Wild Basin Rd. Ste #230, Austin TX 78746