More CAS regalloc fixes.
authorZoltan Varga <vargaz@gmail.com>
Mon, 23 Aug 2010 22:23:37 +0000 (00:23 +0200)
committerZoltan Varga <vargaz@gmail.com>
Mon, 23 Aug 2010 22:25:23 +0000 (00:25 +0200)
commit76b85002dd4a3c5519b732df9659d79b0d6416ef
tree1b2af755bad41c1592972f4e2766315cd71187fb
parent6d88a963b74a5c442e7fa300d8656d3be774b38e
More CAS regalloc fixes.

Set sreg_masks [j] correctly for CAS, spill sreg1/2 if they are assigned to
dest_sreg. Set dest:a for the CAS opcodes on amd64.
mono/mini/cpu-amd64.md
mono/mini/mini-codegen.c