This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/13313] [3.4 Regression] Wrong code generated


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-12-09 08:43 -------
No, no, H8300 is big-endian so it should be

(insn 19 16 20 0 (set (reg:SI r0 [ tmp ])
        (zero_extend:SI (reg:QI r0))) 102 {*zero_extendqisi2_h8300} (insn_list 9
(nil))

because r0 is the high-part of (r0:r1). And I think word mode is HI, not QI.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13313


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]