Print this page
switch aw & cw to target ARMv7

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/cw/cw.c
          +++ new/usr/src/tools/cw/cw.c
↓ open down ↓ 405 lines elided ↑ open up ↑
 406  406                          "-mvis" } },
 407  407          { "v8plusb",    (SS11|M32), { "-m32", "-mcpu=ultrasparc3", "-mv8plus",
 408  408                          "-mvis" } },
 409  409          { "v9",         (SS11|M64), { "-m64", "-mcpu=v9" } },
 410  410          { "v9a",        (SS11|M64), { "-m64", "-mcpu=ultrasparc", "-mvis" } },
 411  411          { "v9b",        (SS11|M64), { "-m64", "-mcpu=ultrasparc3", "-mvis" } },
 412  412          { "sparc",      SS12, { "-mcpu=v9", "-mv8plus" } },
 413  413          { "sparcvis",   SS12, { "-mcpu=ultrasparc", "-mvis" } },
 414  414          { "sparcvis2",  SS12, { "-mcpu=ultrasparc3", "-mvis" } }
 415  415  #elif defined(CW_TARGET_arm)
 416      -        { "generic",    SS12, { "-march=armv6", "-mfpu=vfp", "-mhard-float" } }
      416 +        { "generic",    SS12, { "-march=armv7-a", "-mfpu=vfpv3-d16", "-mhard-float" } }
 417  417  #else
 418  418  #error Unknown CW_TARGET
 419  419  #endif
 420  420  };
 421  421  
 422  422  static int xtbl_size = sizeof (xtbl) / sizeof (xarch_table_t);
 423  423  
 424  424  static const char *progname;
 425  425  
 426  426  static const char *xchip_tbl[] = {
↓ open down ↓ 1508 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX