target/ppc: Style fixes for translate/spe-impl.inc.c
Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
		
							parent
							
								
									3255386633
								
							
						
					
					
						commit
						eb512d15a0
					
				@ -18,7 +18,8 @@ static inline void gen_evmra(DisasContext *ctx)
 | 
				
			|||||||
    TCGv_i64 tmp = tcg_temp_new_i64();
 | 
					    TCGv_i64 tmp = tcg_temp_new_i64();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* tmp := rA_lo + rA_hi << 32 */
 | 
					    /* tmp := rA_lo + rA_hi << 32 */
 | 
				
			||||||
    tcg_gen_concat_tl_i64(tmp, cpu_gpr[rA(ctx->opcode)], cpu_gprh[rA(ctx->opcode)]);
 | 
					    tcg_gen_concat_tl_i64(tmp, cpu_gpr[rA(ctx->opcode)],
 | 
				
			||||||
 | 
					                          cpu_gprh[rA(ctx->opcode)]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* spe_acc := tmp */
 | 
					    /* spe_acc := tmp */
 | 
				
			||||||
    tcg_gen_st_i64(tmp, cpu_env, offsetof(CPUPPCState, spe_acc));
 | 
					    tcg_gen_st_i64(tmp, cpu_env, offsetof(CPUPPCState, spe_acc));
 | 
				
			||||||
@ -1089,7 +1090,8 @@ static inline void gen_efsabs(DisasContext *ctx)
 | 
				
			|||||||
        gen_exception(ctx, POWERPC_EXCP_SPEU);
 | 
					        gen_exception(ctx, POWERPC_EXCP_SPEU);
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    tcg_gen_andi_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], (target_long)~0x80000000LL);
 | 
					    tcg_gen_andi_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)],
 | 
				
			||||||
 | 
					                    (target_long)~0x80000000LL);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
static inline void gen_efsnabs(DisasContext *ctx)
 | 
					static inline void gen_efsnabs(DisasContext *ctx)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
@ -1097,7 +1099,8 @@ static inline void gen_efsnabs(DisasContext *ctx)
 | 
				
			|||||||
        gen_exception(ctx, POWERPC_EXCP_SPEU);
 | 
					        gen_exception(ctx, POWERPC_EXCP_SPEU);
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    tcg_gen_ori_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], 0x80000000);
 | 
					    tcg_gen_ori_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)],
 | 
				
			||||||
 | 
					                   0x80000000);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
static inline void gen_efsneg(DisasContext *ctx)
 | 
					static inline void gen_efsneg(DisasContext *ctx)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
@ -1105,7 +1108,8 @@ static inline void gen_efsneg(DisasContext *ctx)
 | 
				
			|||||||
        gen_exception(ctx, POWERPC_EXCP_SPEU);
 | 
					        gen_exception(ctx, POWERPC_EXCP_SPEU);
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    tcg_gen_xori_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], 0x80000000);
 | 
					    tcg_gen_xori_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)],
 | 
				
			||||||
 | 
					                    0x80000000);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Conversion */
 | 
					/* Conversion */
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user