mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-19 02:25:01 +00:00
This target doesn't support fabs/fneg yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -75,6 +75,10 @@ namespace {
|
|||||||
setOperationAction(ISD::MEMSET , MVT::Other, Expand);
|
setOperationAction(ISD::MEMSET , MVT::Other, Expand);
|
||||||
setOperationAction(ISD::MEMCPY , MVT::Other, Expand);
|
setOperationAction(ISD::MEMCPY , MVT::Other, Expand);
|
||||||
|
|
||||||
|
// We don't support these yet.
|
||||||
|
setOperationAction(ISD::FNEG , MVT::f64 , Expand);
|
||||||
|
setOperationAction(ISD::FABS , MVT::f64 , Expand);
|
||||||
|
|
||||||
//Doesn't work yet
|
//Doesn't work yet
|
||||||
setOperationAction(ISD::SETCC , MVT::f32, Promote);
|
setOperationAction(ISD::SETCC , MVT::f32, Promote);
|
||||||
|
|
||||||
|
@@ -80,6 +80,9 @@ namespace {
|
|||||||
setOperationAction(ISD::MEMSET , MVT::Other, Expand);
|
setOperationAction(ISD::MEMSET , MVT::Other, Expand);
|
||||||
setOperationAction(ISD::MEMCPY , MVT::Other, Expand);
|
setOperationAction(ISD::MEMCPY , MVT::Other, Expand);
|
||||||
|
|
||||||
|
// We don't support these yet.
|
||||||
|
setOperationAction(ISD::FNEG , MVT::f64 , Expand);
|
||||||
|
setOperationAction(ISD::FABS , MVT::f64 , Expand);
|
||||||
|
|
||||||
computeRegisterProperties();
|
computeRegisterProperties();
|
||||||
|
|
||||||
|
@@ -53,6 +53,10 @@ namespace {
|
|||||||
// PowerPC has an i16 but no i8 (or i1) SEXTLOAD
|
// PowerPC has an i16 but no i8 (or i1) SEXTLOAD
|
||||||
setOperationAction(ISD::SEXTLOAD, MVT::i1, Expand);
|
setOperationAction(ISD::SEXTLOAD, MVT::i1, Expand);
|
||||||
setOperationAction(ISD::SEXTLOAD, MVT::i8, Expand);
|
setOperationAction(ISD::SEXTLOAD, MVT::i8, Expand);
|
||||||
|
|
||||||
|
// We don't support these yet.
|
||||||
|
setOperationAction(ISD::FNEG , MVT::f64 , Expand);
|
||||||
|
setOperationAction(ISD::FABS , MVT::f64 , Expand);
|
||||||
|
|
||||||
addLegalFPImmediate(+0.0); // Necessary for FSEL
|
addLegalFPImmediate(+0.0); // Necessary for FSEL
|
||||||
addLegalFPImmediate(-0.0); //
|
addLegalFPImmediate(-0.0); //
|
||||||
|
@@ -63,6 +63,10 @@ namespace {
|
|||||||
setOperationAction(ISD::FP_ROUND_INREG , MVT::f32 , Expand);
|
setOperationAction(ISD::FP_ROUND_INREG , MVT::f32 , Expand);
|
||||||
setOperationAction(ISD::SEXTLOAD , MVT::i1 , Expand);
|
setOperationAction(ISD::SEXTLOAD , MVT::i1 , Expand);
|
||||||
setOperationAction(ISD::SREM , MVT::f64 , Expand);
|
setOperationAction(ISD::SREM , MVT::f64 , Expand);
|
||||||
|
|
||||||
|
// We don't support these yet.
|
||||||
|
setOperationAction(ISD::FNEG , MVT::f64 , Expand);
|
||||||
|
setOperationAction(ISD::FABS , MVT::f64 , Expand);
|
||||||
|
|
||||||
// These should be promoted to a larger select which is supported.
|
// These should be promoted to a larger select which is supported.
|
||||||
/**/ setOperationAction(ISD::SELECT , MVT::i1 , Promote);
|
/**/ setOperationAction(ISD::SELECT , MVT::i1 , Promote);
|
||||||
|
Reference in New Issue
Block a user