diff options
author | Andrzej Janik <[email protected]> | 2020-11-05 21:39:34 +0100 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2020-11-05 21:39:34 +0100 |
commit | 8e409254b3f30577a840885f6d7a56b27f4c2611 (patch) | |
tree | 163c60d33c90475077a9efffd7011d5c9be760b0 /ptx/src/ptx.lalrpop | |
parent | 96702d86c96ef2d14795a71af43015a8eacd0a94 (diff) | |
download | ZLUDA-8e409254b3f30577a840885f6d7a56b27f4c2611.tar.gz ZLUDA-8e409254b3f30577a840885f6d7a56b27f4c2611.zip |
Fix same width float-to-float conversions
Diffstat (limited to 'ptx/src/ptx.lalrpop')
-rw-r--r-- | ptx/src/ptx.lalrpop | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ptx/src/ptx.lalrpop b/ptx/src/ptx.lalrpop index 584ef84..31c2356 100644 --- a/ptx/src/ptx.lalrpop +++ b/ptx/src/ptx.lalrpop @@ -1068,7 +1068,7 @@ InstCvt: ast::Instruction<ast::ParsedArgParams<'input>> = { } ), a) }, - "cvt" <r:RoundingModeFloat?> <f:".ftz"?> <s:".sat"?> ".f32" ".f32" <a:Arg2> => { + "cvt" <r:RoundingModeInt?> <f:".ftz"?> <s:".sat"?> ".f32" ".f32" <a:Arg2> => { ast::Instruction::Cvt(ast::CvtDetails::FloatFromFloat( ast::CvtDesc { rounding: r, @@ -1112,7 +1112,7 @@ InstCvt: ast::Instruction<ast::ParsedArgParams<'input>> = { } ), a) }, - "cvt" <r:RoundingModeFloat?> <s:".sat"?> ".f64" ".f64" <a:Arg2> => { + "cvt" <r:RoundingModeInt?> <s:".sat"?> ".f64" ".f64" <a:Arg2> => { ast::Instruction::Cvt(ast::CvtDetails::FloatFromFloat( ast::CvtDesc { rounding: r, |