]> Git Repo - qemu.git/commitdiff
microblaze: Clarify expected input of write_carry
authorEdgar E. Iglesias <[email protected]>
Thu, 24 Oct 2013 20:31:22 +0000 (22:31 +0200)
committerEdgar E. Iglesias <[email protected]>
Thu, 24 Oct 2013 20:32:55 +0000 (22:32 +0200)
Signed-off-by: Edgar E. Iglesias <[email protected]>
target-microblaze/translate.c

index 1b937b3f0d18cf44852d8adec6be94c7bfe17b1b..76b25704baacba47c6879381ad7c04a24cb94d1c 100644 (file)
@@ -150,6 +150,10 @@ static void read_carry(DisasContext *dc, TCGv d)
     tcg_gen_shri_tl(d, cpu_SR[SR_MSR], 31);
 }
 
+/*
+ * write_carry sets the carry bits in MSR based on bit 0 of v.
+ * v[31:1] are ignored.
+ */
 static void write_carry(DisasContext *dc, TCGv v)
 {
     TCGv t0 = tcg_temp_new();
This page took 0.027964 seconds and 4 git commands to generate.