Enable Intel AVX512_VNNI instructions.
[deliverable/binutils-gdb.git] / opcodes / s390-mkopc.c
index 0d63db955867e696f0c58de9491bb02974703f50..20c15399a7fbb5d726ed53301d8c782f9a73ba77 100644 (file)
@@ -374,6 +374,9 @@ main (void)
       else if (strcmp (cpu_string, "z13") == 0
               || strcmp (cpu_string, "arch11") == 0)
        min_cpu = S390_OPCODE_Z13;
+      else if (strcmp (cpu_string, "z14") == 0
+              || strcmp (cpu_string, "arch12") == 0)
+       min_cpu = S390_OPCODE_ARCH12;
       else {
        fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);
        exit (1);
@@ -409,12 +412,16 @@ main (void)
                && (str[7] == 0 || str[7] == ',')) {
              flag_bits |= S390_INSTR_FLAG_OPTPARM;
              str += 7;
+           } else if (strncmp (str, "optparm2", 8) == 0
+                      && (str[8] == 0 || str[8] == ',')) {
+             flag_bits |= S390_INSTR_FLAG_OPTPARM2;
+             str += 8;
            } else if (strncmp (str, "htm", 3) == 0
-               && (str[3] == 0 || str[3] == ',')) {
+                      && (str[3] == 0 || str[3] == ',')) {
              flag_bits |= S390_INSTR_FLAG_HTM;
              str += 3;
            } else if (strncmp (str, "vx", 2) == 0
-               && (str[2] == 0 || str[2] == ',')) {
+                      && (str[2] == 0 || str[2] == ',')) {
              flag_bits |= S390_INSTR_FLAG_VX;
              str += 2;
            } else {
This page took 0.039167 seconds and 4 git commands to generate.