From: Tom Stellard Date: Wed, 23 May 2012 17:59:32 +0000 (-0400) Subject: radeon/llvm: Remove AMDIL ROUND_NEAREST instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea00632fe0667766783fb66f9db5198554fee159;p=mesa.git radeon/llvm: Remove AMDIL ROUND_NEAREST instruction --- diff --git a/src/gallium/drivers/radeon/AMDGPUGenInstrEnums.pl b/src/gallium/drivers/radeon/AMDGPUGenInstrEnums.pl index 654f24f17e5..1ba3afe9db0 100644 --- a/src/gallium/drivers/radeon/AMDGPUGenInstrEnums.pl +++ b/src/gallium/drivers/radeon/AMDGPUGenInstrEnums.pl @@ -54,7 +54,7 @@ my $FILE_TYPE = $ARGV[0]; open AMDIL, '<', 'AMDILInstructions.td'; -my @INST_ENUMS = ('NONE', 'FEQ', 'FGE', 'FLT', 'FNE', 'MOVE_f32', 'MOVE_i32', 'FTOI', 'ITOF', 'UGT', 'IGE', 'INE', 'UGE', 'IEQ', 'BINARY_OR_i32', 'BINARY_NOT_i32', 'ROUND_NEAREST_f32'); +my @INST_ENUMS = ('NONE', 'FEQ', 'FGE', 'FLT', 'FNE', 'MOVE_f32', 'MOVE_i32', 'FTOI', 'ITOF', 'UGT', 'IGE', 'INE', 'UGE', 'IEQ', 'BINARY_OR_i32', 'BINARY_NOT_i32'); while () { if ($_ =~ /defm\s+([A-Z_]+)\s+:\s+([A-Za-z0-9]+); defm PIREDUCE : UnaryIntrinsicFloat; -defm ROUND_NEAREST : UnaryIntrinsicFloat; defm ROUND_NEGINF : UnaryIntrinsicFloat; defm ROUND_ZERO : UnaryIntrinsicFloat { - let AMDILOp = AMDILInst.ROUND_NEAREST_f32; -} + [(set R600_Reg32:$dst, (frint R600_Reg32:$src))] +>; def FLOOR : R600_1OP < 0x14, "FLOOR",