Remove requirement that --input-bubble be specified if an instruction set is specifie...
authorDavid Wrighton <davidwr@microsoft.com>
Fri, 30 Jul 2021 01:38:50 +0000 (18:38 -0700)
committerGitHub <noreply@github.com>
Fri, 30 Jul 2021 01:38:50 +0000 (18:38 -0700)
- This was here to protect against ABI breaking changes causing R2R misbehavior
- We don't actually need this as if there is an ABI breaking change, we can detect it at runtime by looking at a combination of the R2R version and the required instruction sets encoded in the R2R image

src/coreclr/tools/aot/crossgen2/Program.cs
src/coreclr/tools/aot/crossgen2/Properties/Resources.resx

index 36b5bdd..d541851 100644 (file)
@@ -235,11 +235,6 @@ namespace ILCompiler
             {
                 List<string> instructionSetParams = new List<string>();
 
-                // At this time, instruction sets may only be specified with --input-bubble, as
-                // we do not yet have a stable ABI for all vector parameter/return types.
-                if (!_commandLineOptions.InputBubble)
-                    throw new CommandLineException(SR.InstructionSetWithoutInputBubble);
-
                 // Normalize instruction set format to include implied +.
                 string[] instructionSetParamsInput = _commandLineOptions.InstructionSet.Split(",");
                 for (int i = 0; i < instructionSetParamsInput.Length; i++)
index 670f214..0eb8411 100644 (file)
   <data name="InstructionSetMustNotBe" xml:space="preserve">
     <value>Instruction set '{0}' is not valid for this architecture and operating system</value>
   </data>
-  <data name="InstructionSetWithoutInputBubble" xml:space="preserve">
-    <value>Instruction set(s) specified without also specifying input-bubble</value>
-  </data>
   <data name="InstructionSetInvalidImplication" xml:space="preserve">
     <value>Instruction set '{0}' implies support for instruction set '{1}'</value>
   </data>