[be] emit casts, prettier emit_copy output, fix segfault,
commit9cae8a7a537c5939cc08f0f215bbe6ebba88782f
authorJeff Garzik <jgarzik@redhat.com>
Wed, 10 Sep 2003 09:23:10 +0000 (10 02:23 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 04:01:11 +0000 (7 21:01 -0700)
tree1ad51c14896d03b4c3958e563e0724df6cc1a4e7
parent24a480963d1a31efdc6c0ae88b60f8f318059c41
[be] emit casts, prettier emit_copy output, fix segfault,
smarter val storage.

* fix segfault in emit_symbol_expr_init.  we don't yet properly
  reference toplevel variables.  workaround, print out "FIXME!" and
  create a new pseudo.
* directly inline constants, instead of assigning them stack slots
  as pseudos.
* properly emit cast expressions; quite easy with my type-aware
  emit_move function.  alas, since we assume values will fit into
  a machine register, emit_move is [known-]broken for 64-bit ints.
* make asm comments in pseudo-pseudo copy prettier
compile-i386.c