blob: 1f137b7e180b7c3dbafbe2f0b4f836414399d5c5 [file] [log] [blame]
error: invalid register `sp`: the stack pointer cannot be used as an operand for inline asm
--> $DIR/bad-reg.rs:37:18
|
LL | asm!("", out("sp") _);
| ^^^^^^^^^^^
error: invalid register `r2`: r2 is a system reserved register and cannot be used as an operand for inline asm
--> $DIR/bad-reg.rs:39:18
|
LL | asm!("", out("r2") _);
| ^^^^^^^^^^^
error: invalid register `r29`: r29 is used internally by LLVM and cannot be used as an operand for inline asm
--> $DIR/bad-reg.rs:43:18
|
LL | asm!("", out("r29") _);
| ^^^^^^^^^^^^
error: invalid register `r30`: r30 is used internally by LLVM and cannot be used as an operand for inline asm
--> $DIR/bad-reg.rs:45:18
|
LL | asm!("", out("r30") _);
| ^^^^^^^^^^^^
error: invalid register `fp`: the frame pointer cannot be used as an operand for inline asm
--> $DIR/bad-reg.rs:47:18
|
LL | asm!("", out("fp") _);
| ^^^^^^^^^^^
error: invalid register `vrsave`: the vrsave register cannot be used as an operand for inline asm
--> $DIR/bad-reg.rs:49:18
|
LL | asm!("", out("vrsave") _);
| ^^^^^^^^^^^^^^^
error: register class `cr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:138:18
|
LL | asm!("", in("cr") x);
| ^^^^^^^^^^
error: register class `cr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:141:18
|
LL | asm!("", out("cr") x);
| ^^^^^^^^^^^
error: register class `cr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:144:26
|
LL | asm!("/* {} */", in(cr) x);
| ^^^^^^^^
error: register class `cr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:147:26
|
LL | asm!("/* {} */", out(cr) _);
| ^^^^^^^^^
error: register class `ctr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:151:18
|
LL | asm!("", in("ctr") x);
| ^^^^^^^^^^^
error: register class `ctr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:154:18
|
LL | asm!("", out("ctr") x);
| ^^^^^^^^^^^^
error: register class `ctr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:157:26
|
LL | asm!("/* {} */", in(ctr) x);
| ^^^^^^^^^
error: register class `ctr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:160:26
|
LL | asm!("/* {} */", out(ctr) _);
| ^^^^^^^^^^
error: register class `lr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:164:18
|
LL | asm!("", in("lr") x);
| ^^^^^^^^^^
error: register class `lr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:167:18
|
LL | asm!("", out("lr") x);
| ^^^^^^^^^^^
error: register class `lr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:170:26
|
LL | asm!("/* {} */", in(lr) x);
| ^^^^^^^^
error: register class `lr` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:173:26
|
LL | asm!("/* {} */", out(lr) _);
| ^^^^^^^^^
error: register class `xer` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:177:18
|
LL | asm!("", in("xer") x);
| ^^^^^^^^^^^
error: register class `xer` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:180:18
|
LL | asm!("", out("xer") x);
| ^^^^^^^^^^^^
error: register class `xer` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:183:26
|
LL | asm!("/* {} */", in(xer) x);
| ^^^^^^^^^
error: register class `xer` can only be used as a clobber, not as an input or output
--> $DIR/bad-reg.rs:186:26
|
LL | asm!("/* {} */", out(xer) _);
| ^^^^^^^^^^
error: register `cr0` conflicts with register `cr`
--> $DIR/bad-reg.rs:190:31
|
LL | asm!("", out("cr") _, out("cr0") _);
| ----------- ^^^^^^^^^^^^ register `cr0`
| |
| register `cr`
error: register `cr1` conflicts with register `cr`
--> $DIR/bad-reg.rs:192:31
|
LL | asm!("", out("cr") _, out("cr1") _);
| ----------- ^^^^^^^^^^^^ register `cr1`
| |
| register `cr`
error: register `cr2` conflicts with register `cr`
--> $DIR/bad-reg.rs:194:31
|
LL | asm!("", out("cr") _, out("cr2") _);
| ----------- ^^^^^^^^^^^^ register `cr2`
| |
| register `cr`
error: register `cr3` conflicts with register `cr`
--> $DIR/bad-reg.rs:196:31
|
LL | asm!("", out("cr") _, out("cr3") _);
| ----------- ^^^^^^^^^^^^ register `cr3`
| |
| register `cr`
error: register `cr4` conflicts with register `cr`
--> $DIR/bad-reg.rs:198:31
|
LL | asm!("", out("cr") _, out("cr4") _);
| ----------- ^^^^^^^^^^^^ register `cr4`
| |
| register `cr`
error: register `cr5` conflicts with register `cr`
--> $DIR/bad-reg.rs:200:31
|
LL | asm!("", out("cr") _, out("cr5") _);
| ----------- ^^^^^^^^^^^^ register `cr5`
| |
| register `cr`
error: register `cr6` conflicts with register `cr`
--> $DIR/bad-reg.rs:202:31
|
LL | asm!("", out("cr") _, out("cr6") _);
| ----------- ^^^^^^^^^^^^ register `cr6`
| |
| register `cr`
error: register `cr7` conflicts with register `cr`
--> $DIR/bad-reg.rs:204:31
|
LL | asm!("", out("cr") _, out("cr7") _);
| ----------- ^^^^^^^^^^^^ register `cr7`
| |
| register `cr`
error: register `vs0` conflicts with register `f0`
--> $DIR/bad-reg.rs:207:31
|
LL | asm!("", out("f0") _, out("vs0") _);
| ----------- ^^^^^^^^^^^^ register `vs0`
| |
| register `f0`
error: register `vs1` conflicts with register `f1`
--> $DIR/bad-reg.rs:209:31
|
LL | asm!("", out("f1") _, out("vs1") _);
| ----------- ^^^^^^^^^^^^ register `vs1`
| |
| register `f1`
error: register `vs2` conflicts with register `f2`
--> $DIR/bad-reg.rs:211:31
|
LL | asm!("", out("f2") _, out("vs2") _);
| ----------- ^^^^^^^^^^^^ register `vs2`
| |
| register `f2`
error: register `vs3` conflicts with register `f3`
--> $DIR/bad-reg.rs:213:31
|
LL | asm!("", out("f3") _, out("vs3") _);
| ----------- ^^^^^^^^^^^^ register `vs3`
| |
| register `f3`
error: register `vs4` conflicts with register `f4`
--> $DIR/bad-reg.rs:215:31
|
LL | asm!("", out("f4") _, out("vs4") _);
| ----------- ^^^^^^^^^^^^ register `vs4`
| |
| register `f4`
error: register `vs5` conflicts with register `f5`
--> $DIR/bad-reg.rs:217:31
|
LL | asm!("", out("f5") _, out("vs5") _);
| ----------- ^^^^^^^^^^^^ register `vs5`
| |
| register `f5`
error: register `vs6` conflicts with register `f6`
--> $DIR/bad-reg.rs:219:31
|
LL | asm!("", out("f6") _, out("vs6") _);
| ----------- ^^^^^^^^^^^^ register `vs6`
| |
| register `f6`
error: register `vs7` conflicts with register `f7`
--> $DIR/bad-reg.rs:221:31
|
LL | asm!("", out("f7") _, out("vs7") _);
| ----------- ^^^^^^^^^^^^ register `vs7`
| |
| register `f7`
error: register `vs8` conflicts with register `f8`
--> $DIR/bad-reg.rs:223:31
|
LL | asm!("", out("f8") _, out("vs8") _);
| ----------- ^^^^^^^^^^^^ register `vs8`
| |
| register `f8`
error: register `vs9` conflicts with register `f9`
--> $DIR/bad-reg.rs:225:31
|
LL | asm!("", out("f9") _, out("vs9") _);
| ----------- ^^^^^^^^^^^^ register `vs9`
| |
| register `f9`
error: register `vs10` conflicts with register `f10`
--> $DIR/bad-reg.rs:227:32
|
LL | asm!("", out("f10") _, out("vs10") _);
| ------------ ^^^^^^^^^^^^^ register `vs10`
| |
| register `f10`
error: register `vs11` conflicts with register `f11`
--> $DIR/bad-reg.rs:229:32
|
LL | asm!("", out("f11") _, out("vs11") _);
| ------------ ^^^^^^^^^^^^^ register `vs11`
| |
| register `f11`
error: register `vs12` conflicts with register `f12`
--> $DIR/bad-reg.rs:231:32
|
LL | asm!("", out("f12") _, out("vs12") _);
| ------------ ^^^^^^^^^^^^^ register `vs12`
| |
| register `f12`
error: register `vs13` conflicts with register `f13`
--> $DIR/bad-reg.rs:233:32
|
LL | asm!("", out("f13") _, out("vs13") _);
| ------------ ^^^^^^^^^^^^^ register `vs13`
| |
| register `f13`
error: register `vs14` conflicts with register `f14`
--> $DIR/bad-reg.rs:235:32
|
LL | asm!("", out("f14") _, out("vs14") _);
| ------------ ^^^^^^^^^^^^^ register `vs14`
| |
| register `f14`
error: register `vs15` conflicts with register `f15`
--> $DIR/bad-reg.rs:237:32
|
LL | asm!("", out("f15") _, out("vs15") _);
| ------------ ^^^^^^^^^^^^^ register `vs15`
| |
| register `f15`
error: register `vs16` conflicts with register `f16`
--> $DIR/bad-reg.rs:239:32
|
LL | asm!("", out("f16") _, out("vs16") _);
| ------------ ^^^^^^^^^^^^^ register `vs16`
| |
| register `f16`
error: register `vs17` conflicts with register `f17`
--> $DIR/bad-reg.rs:241:32
|
LL | asm!("", out("f17") _, out("vs17") _);
| ------------ ^^^^^^^^^^^^^ register `vs17`
| |
| register `f17`
error: register `vs18` conflicts with register `f18`
--> $DIR/bad-reg.rs:243:32
|
LL | asm!("", out("f18") _, out("vs18") _);
| ------------ ^^^^^^^^^^^^^ register `vs18`
| |
| register `f18`
error: register `vs19` conflicts with register `f19`
--> $DIR/bad-reg.rs:245:32
|
LL | asm!("", out("f19") _, out("vs19") _);
| ------------ ^^^^^^^^^^^^^ register `vs19`
| |
| register `f19`
error: register `vs20` conflicts with register `f20`
--> $DIR/bad-reg.rs:247:32
|
LL | asm!("", out("f20") _, out("vs20") _);
| ------------ ^^^^^^^^^^^^^ register `vs20`
| |
| register `f20`
error: register `vs21` conflicts with register `f21`
--> $DIR/bad-reg.rs:249:32
|
LL | asm!("", out("f21") _, out("vs21") _);
| ------------ ^^^^^^^^^^^^^ register `vs21`
| |
| register `f21`
error: register `vs22` conflicts with register `f22`
--> $DIR/bad-reg.rs:251:32
|
LL | asm!("", out("f22") _, out("vs22") _);
| ------------ ^^^^^^^^^^^^^ register `vs22`
| |
| register `f22`
error: register `vs23` conflicts with register `f23`
--> $DIR/bad-reg.rs:253:32
|
LL | asm!("", out("f23") _, out("vs23") _);
| ------------ ^^^^^^^^^^^^^ register `vs23`
| |
| register `f23`
error: register `vs24` conflicts with register `f24`
--> $DIR/bad-reg.rs:255:32
|
LL | asm!("", out("f24") _, out("vs24") _);
| ------------ ^^^^^^^^^^^^^ register `vs24`
| |
| register `f24`
error: register `vs25` conflicts with register `f25`
--> $DIR/bad-reg.rs:257:32
|
LL | asm!("", out("f25") _, out("vs25") _);
| ------------ ^^^^^^^^^^^^^ register `vs25`
| |
| register `f25`
error: register `vs26` conflicts with register `f26`
--> $DIR/bad-reg.rs:259:32
|
LL | asm!("", out("f26") _, out("vs26") _);
| ------------ ^^^^^^^^^^^^^ register `vs26`
| |
| register `f26`
error: register `vs27` conflicts with register `f27`
--> $DIR/bad-reg.rs:261:32
|
LL | asm!("", out("f27") _, out("vs27") _);
| ------------ ^^^^^^^^^^^^^ register `vs27`
| |
| register `f27`
error: register `vs28` conflicts with register `f28`
--> $DIR/bad-reg.rs:263:32
|
LL | asm!("", out("f28") _, out("vs28") _);
| ------------ ^^^^^^^^^^^^^ register `vs28`
| |
| register `f28`
error: register `vs29` conflicts with register `f29`
--> $DIR/bad-reg.rs:265:32
|
LL | asm!("", out("f29") _, out("vs29") _);
| ------------ ^^^^^^^^^^^^^ register `vs29`
| |
| register `f29`
error: register `vs30` conflicts with register `f30`
--> $DIR/bad-reg.rs:267:32
|
LL | asm!("", out("f30") _, out("vs30") _);
| ------------ ^^^^^^^^^^^^^ register `vs30`
| |
| register `f30`
error: register `vs31` conflicts with register `f31`
--> $DIR/bad-reg.rs:269:32
|
LL | asm!("", out("f31") _, out("vs31") _);
| ------------ ^^^^^^^^^^^^^ register `vs31`
| |
| register `f31`
error: register `v0` conflicts with register `vs32`
--> $DIR/bad-reg.rs:271:33
|
LL | asm!("", out("vs32") _, out("v0") _);
| ------------- ^^^^^^^^^^^ register `v0`
| |
| register `vs32`
error: register `v1` conflicts with register `vs33`
--> $DIR/bad-reg.rs:273:33
|
LL | asm!("", out("vs33") _, out("v1") _);
| ------------- ^^^^^^^^^^^ register `v1`
| |
| register `vs33`
error: register `v2` conflicts with register `vs34`
--> $DIR/bad-reg.rs:275:33
|
LL | asm!("", out("vs34") _, out("v2") _);
| ------------- ^^^^^^^^^^^ register `v2`
| |
| register `vs34`
error: register `v3` conflicts with register `vs35`
--> $DIR/bad-reg.rs:277:33
|
LL | asm!("", out("vs35") _, out("v3") _);
| ------------- ^^^^^^^^^^^ register `v3`
| |
| register `vs35`
error: register `v4` conflicts with register `vs36`
--> $DIR/bad-reg.rs:279:33
|
LL | asm!("", out("vs36") _, out("v4") _);
| ------------- ^^^^^^^^^^^ register `v4`
| |
| register `vs36`
error: register `v5` conflicts with register `vs37`
--> $DIR/bad-reg.rs:281:33
|
LL | asm!("", out("vs37") _, out("v5") _);
| ------------- ^^^^^^^^^^^ register `v5`
| |
| register `vs37`
error: register `v6` conflicts with register `vs38`
--> $DIR/bad-reg.rs:283:33
|
LL | asm!("", out("vs38") _, out("v6") _);
| ------------- ^^^^^^^^^^^ register `v6`
| |
| register `vs38`
error: register `v7` conflicts with register `vs39`
--> $DIR/bad-reg.rs:285:33
|
LL | asm!("", out("vs39") _, out("v7") _);
| ------------- ^^^^^^^^^^^ register `v7`
| |
| register `vs39`
error: register `v8` conflicts with register `vs40`
--> $DIR/bad-reg.rs:287:33
|
LL | asm!("", out("vs40") _, out("v8") _);
| ------------- ^^^^^^^^^^^ register `v8`
| |
| register `vs40`
error: register `v9` conflicts with register `vs41`
--> $DIR/bad-reg.rs:289:33
|
LL | asm!("", out("vs41") _, out("v9") _);
| ------------- ^^^^^^^^^^^ register `v9`
| |
| register `vs41`
error: register `v10` conflicts with register `vs42`
--> $DIR/bad-reg.rs:291:33
|
LL | asm!("", out("vs42") _, out("v10") _);
| ------------- ^^^^^^^^^^^^ register `v10`
| |
| register `vs42`
error: register `v11` conflicts with register `vs43`
--> $DIR/bad-reg.rs:293:33
|
LL | asm!("", out("vs43") _, out("v11") _);
| ------------- ^^^^^^^^^^^^ register `v11`
| |
| register `vs43`
error: register `v12` conflicts with register `vs44`
--> $DIR/bad-reg.rs:295:33
|
LL | asm!("", out("vs44") _, out("v12") _);
| ------------- ^^^^^^^^^^^^ register `v12`
| |
| register `vs44`
error: register `v13` conflicts with register `vs45`
--> $DIR/bad-reg.rs:297:33
|
LL | asm!("", out("vs45") _, out("v13") _);
| ------------- ^^^^^^^^^^^^ register `v13`
| |
| register `vs45`
error: register `v14` conflicts with register `vs46`
--> $DIR/bad-reg.rs:299:33
|
LL | asm!("", out("vs46") _, out("v14") _);
| ------------- ^^^^^^^^^^^^ register `v14`
| |
| register `vs46`
error: register `v15` conflicts with register `vs47`
--> $DIR/bad-reg.rs:301:33
|
LL | asm!("", out("vs47") _, out("v15") _);
| ------------- ^^^^^^^^^^^^ register `v15`
| |
| register `vs47`
error: register `v16` conflicts with register `vs48`
--> $DIR/bad-reg.rs:303:33
|
LL | asm!("", out("vs48") _, out("v16") _);
| ------------- ^^^^^^^^^^^^ register `v16`
| |
| register `vs48`
error: register `v17` conflicts with register `vs49`
--> $DIR/bad-reg.rs:305:33
|
LL | asm!("", out("vs49") _, out("v17") _);
| ------------- ^^^^^^^^^^^^ register `v17`
| |
| register `vs49`
error: register `v18` conflicts with register `vs50`
--> $DIR/bad-reg.rs:307:33
|
LL | asm!("", out("vs50") _, out("v18") _);
| ------------- ^^^^^^^^^^^^ register `v18`
| |
| register `vs50`
error: register `v19` conflicts with register `vs51`
--> $DIR/bad-reg.rs:309:33
|
LL | asm!("", out("vs51") _, out("v19") _);
| ------------- ^^^^^^^^^^^^ register `v19`
| |
| register `vs51`
error: register `v20` conflicts with register `vs52`
--> $DIR/bad-reg.rs:311:33
|
LL | asm!("", out("vs52") _, out("v20") _);
| ------------- ^^^^^^^^^^^^ register `v20`
| |
| register `vs52`
error: register `v21` conflicts with register `vs53`
--> $DIR/bad-reg.rs:313:33
|
LL | asm!("", out("vs53") _, out("v21") _);
| ------------- ^^^^^^^^^^^^ register `v21`
| |
| register `vs53`
error: register `v22` conflicts with register `vs54`
--> $DIR/bad-reg.rs:315:33
|
LL | asm!("", out("vs54") _, out("v22") _);
| ------------- ^^^^^^^^^^^^ register `v22`
| |
| register `vs54`
error: register `v23` conflicts with register `vs55`
--> $DIR/bad-reg.rs:317:33
|
LL | asm!("", out("vs55") _, out("v23") _);
| ------------- ^^^^^^^^^^^^ register `v23`
| |
| register `vs55`
error: register `v24` conflicts with register `vs56`
--> $DIR/bad-reg.rs:319:33
|
LL | asm!("", out("vs56") _, out("v24") _);
| ------------- ^^^^^^^^^^^^ register `v24`
| |
| register `vs56`
error: register `v25` conflicts with register `vs57`
--> $DIR/bad-reg.rs:321:33
|
LL | asm!("", out("vs57") _, out("v25") _);
| ------------- ^^^^^^^^^^^^ register `v25`
| |
| register `vs57`
error: register `v26` conflicts with register `vs58`
--> $DIR/bad-reg.rs:323:33
|
LL | asm!("", out("vs58") _, out("v26") _);
| ------------- ^^^^^^^^^^^^ register `v26`
| |
| register `vs58`
error: register `v27` conflicts with register `vs59`
--> $DIR/bad-reg.rs:325:33
|
LL | asm!("", out("vs59") _, out("v27") _);
| ------------- ^^^^^^^^^^^^ register `v27`
| |
| register `vs59`
error: register `v28` conflicts with register `vs60`
--> $DIR/bad-reg.rs:327:33
|
LL | asm!("", out("vs60") _, out("v28") _);
| ------------- ^^^^^^^^^^^^ register `v28`
| |
| register `vs60`
error: register `v29` conflicts with register `vs61`
--> $DIR/bad-reg.rs:329:33
|
LL | asm!("", out("vs61") _, out("v29") _);
| ------------- ^^^^^^^^^^^^ register `v29`
| |
| register `vs61`
error: register `v30` conflicts with register `vs62`
--> $DIR/bad-reg.rs:331:33
|
LL | asm!("", out("vs62") _, out("v30") _);
| ------------- ^^^^^^^^^^^^ register `v30`
| |
| register `vs62`
error: register `v31` conflicts with register `vs63`
--> $DIR/bad-reg.rs:333:33
|
LL | asm!("", out("vs63") _, out("v31") _);
| ------------- ^^^^^^^^^^^^ register `v31`
| |
| register `vs63`
error: cannot use register `r13`: r13 is a reserved register on this target
--> $DIR/bad-reg.rs:41:18
|
LL | asm!("", out("r13") _);
| ^^^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:54:18
|
LL | asm!("", in("v0") v32x4); // requires altivec
| ^^^^^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:56:18
|
LL | asm!("", out("v0") v32x4); // requires altivec
| ^^^^^^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:58:18
|
LL | asm!("", in("v0") v64x2); // requires vsx
| ^^^^^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:61:18
|
LL | asm!("", out("v0") v64x2); // requires vsx
| ^^^^^^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:64:18
|
LL | asm!("", in("v0") x); // FIXME: should be ok if vsx is available
| ^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:67:18
|
LL | asm!("", out("v0") x); // FIXME: should be ok if vsx is available
| ^^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:70:26
|
LL | asm!("/* {} */", in(vreg) v32x4); // requires altivec
| ^^^^^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:72:26
|
LL | asm!("/* {} */", in(vreg) v64x2); // requires vsx
| ^^^^^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:75:26
|
LL | asm!("/* {} */", in(vreg) x); // FIXME: should be ok if vsx is available
| ^^^^^^^^^^
error: register class `vreg` requires at least one of the following target features: altivec, vsx
--> $DIR/bad-reg.rs:78:26
|
LL | asm!("/* {} */", out(vreg) _); // requires altivec
| ^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:97:18
|
LL | asm!("", in("vs0") v32x4); // requires vsx
| ^^^^^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:99:18
|
LL | asm!("", out("vs0") v32x4); // requires vsx
| ^^^^^^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:101:18
|
LL | asm!("", in("vs0") v64x2); // requires vsx
| ^^^^^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:103:18
|
LL | asm!("", out("vs0") v64x2); // requires vsx
| ^^^^^^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:105:18
|
LL | asm!("", in("vs0") x); // FIXME: should be ok if vsx is available
| ^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:108:18
|
LL | asm!("", out("vs0") x); // FIXME: should be ok if vsx is available
| ^^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:111:26
|
LL | asm!("/* {} */", in(vsreg) v32x4); // requires vsx
| ^^^^^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:113:26
|
LL | asm!("/* {} */", in(vsreg) v64x2); // requires vsx
| ^^^^^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:115:26
|
LL | asm!("/* {} */", in(vsreg) x); // FIXME: should be ok if vsx is available
| ^^^^^^^^^^^
error: register class `vsreg` requires the `vsx` target feature
--> $DIR/bad-reg.rs:118:26
|
LL | asm!("/* {} */", out(vsreg) _); // requires vsx
| ^^^^^^^^^^^^
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:138:27
|
LL | asm!("", in("cr") x);
| ^
|
= note: register class `cr` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:141:28
|
LL | asm!("", out("cr") x);
| ^
|
= note: register class `cr` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:144:33
|
LL | asm!("/* {} */", in(cr) x);
| ^
|
= note: register class `cr` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:151:28
|
LL | asm!("", in("ctr") x);
| ^
|
= note: register class `ctr` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:154:29
|
LL | asm!("", out("ctr") x);
| ^
|
= note: register class `ctr` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:157:34
|
LL | asm!("/* {} */", in(ctr) x);
| ^
|
= note: register class `ctr` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:164:27
|
LL | asm!("", in("lr") x);
| ^
|
= note: register class `lr` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:167:28
|
LL | asm!("", out("lr") x);
| ^
|
= note: register class `lr` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:170:33
|
LL | asm!("/* {} */", in(lr) x);
| ^
|
= note: register class `lr` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:177:28
|
LL | asm!("", in("xer") x);
| ^
|
= note: register class `xer` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:180:29
|
LL | asm!("", out("xer") x);
| ^
|
= note: register class `xer` supports these types:
error: type `i32` cannot be used with this register class
--> $DIR/bad-reg.rs:183:34
|
LL | asm!("/* {} */", in(xer) x);
| ^
|
= note: register class `xer` supports these types:
error: aborting due to 127 previous errors