brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 0faf07d Raw
28 lines · plain
1//===- XtensaProcessors.td - Xtensa Processors -------------*- tablegen -*-===//2//3//                     The LLVM Compiler Infrastructure4//5// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.6// See https://llvm.org/LICENSE.txt for license information.7// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception8//9//===----------------------------------------------------------------------===//10 11//===----------------------------------------------------------------------===//12// Xtensa supported processors.13//===----------------------------------------------------------------------===//14class Proc<string Name, list<SubtargetFeature> Features>15    : Processor<Name, NoItineraries, Features>;16 17def : Proc<"generic", []>;18 19def : Proc<"esp32", [FeatureDensity, FeatureSingleFloat, FeatureLoop, FeatureMAC16, FeatureWindowed, FeatureBoolean, FeatureSEXT,20                     FeatureNSA, FeatureMul16, FeatureMul32, FeatureMul32High, FeatureDFPAccel, FeatureS32C1I, FeatureTHREADPTR, FeatureDiv32,21                     FeatureDebug, FeatureException, FeatureHighPriInterrupts, FeatureHighPriInterruptsLevel7, FeatureCoprocessor,22                     FeatureInterrupt, FeatureDataCache, FeatureRelocatableVector, FeatureTimers3, FeaturePRID, FeatureRegionProtection, FeatureMiscSR,23                     FeatureMINMAX, FeatureCLAMPS]>;24 25def : Proc<"esp8266", [FeatureDensity, FeatureNSA, FeatureMul16, FeatureMul32, FeatureExtendedL32R, FeatureDebug, FeatureException,26                       FeatureHighPriInterrupts, FeatureHighPriInterruptsLevel3, FeatureInterrupt, FeatureRelocatableVector, FeatureTimers1,27					   FeatureRegionProtection, FeaturePRID]>;28