Ported tests/ui/simd to use the intrinsic macro · rust-lang/rust@0878692 (original) (raw)

1

1

`` error[E0511]: invalid monomorphization of simd_add intrinsic: expected SIMD input type, found non-SIMD i32

``

2

``

`-

--> $DIR/generic-arithmetic-2.rs:81:9

`

``

2

`+

--> $DIR/generic-arithmetic-2.rs:110:9

`

3

3

` |

`

4

4

`LL | simd_add(0, 0);

`

5

5

` | ^^^^^^^^^^^^^^

`

6

6

``

7

7

`` error[E0511]: invalid monomorphization of simd_sub intrinsic: expected SIMD input type, found non-SIMD i32

``

8

``

`-

--> $DIR/generic-arithmetic-2.rs:83:9

`

``

8

`+

--> $DIR/generic-arithmetic-2.rs:112:9

`

9

9

` |

`

10

10

`LL | simd_sub(0, 0);

`

11

11

` | ^^^^^^^^^^^^^^

`

12

12

``

13

13

`` error[E0511]: invalid monomorphization of simd_mul intrinsic: expected SIMD input type, found non-SIMD i32

``

14

``

`-

--> $DIR/generic-arithmetic-2.rs:85:9

`

``

14

`+

--> $DIR/generic-arithmetic-2.rs:114:9

`

15

15

` |

`

16

16

`LL | simd_mul(0, 0);

`

17

17

` | ^^^^^^^^^^^^^^

`

18

18

``

19

19

`` error[E0511]: invalid monomorphization of simd_div intrinsic: expected SIMD input type, found non-SIMD i32

``

20

``

`-

--> $DIR/generic-arithmetic-2.rs:87:9

`

``

20

`+

--> $DIR/generic-arithmetic-2.rs:116:9

`

21

21

` |

`

22

22

`LL | simd_div(0, 0);

`

23

23

` | ^^^^^^^^^^^^^^

`

24

24

``

25

25

`` error[E0511]: invalid monomorphization of simd_shl intrinsic: expected SIMD input type, found non-SIMD i32

``

26

``

`-

--> $DIR/generic-arithmetic-2.rs:89:9

`

``

26

`+

--> $DIR/generic-arithmetic-2.rs:118:9

`

27

27

` |

`

28

28

`LL | simd_shl(0, 0);

`

29

29

` | ^^^^^^^^^^^^^^

`

30

30

``

31

31

`` error[E0511]: invalid monomorphization of simd_shr intrinsic: expected SIMD input type, found non-SIMD i32

``

32

``

`-

--> $DIR/generic-arithmetic-2.rs:91:9

`

``

32

`+

--> $DIR/generic-arithmetic-2.rs:120:9

`

33

33

` |

`

34

34

`LL | simd_shr(0, 0);

`

35

35

` | ^^^^^^^^^^^^^^

`

36

36

``

37

37

`` error[E0511]: invalid monomorphization of simd_and intrinsic: expected SIMD input type, found non-SIMD i32

``

38

``

`-

--> $DIR/generic-arithmetic-2.rs:93:9

`

``

38

`+

--> $DIR/generic-arithmetic-2.rs:122:9

`

39

39

` |

`

40

40

`LL | simd_and(0, 0);

`

41

41

` | ^^^^^^^^^^^^^^

`

42

42

``

43

43

`` error[E0511]: invalid monomorphization of simd_or intrinsic: expected SIMD input type, found non-SIMD i32

``

44

``

`-

--> $DIR/generic-arithmetic-2.rs:95:9

`

``

44

`+

--> $DIR/generic-arithmetic-2.rs:124:9

`

45

45

` |

`

46

46

`LL | simd_or(0, 0);

`

47

47

` | ^^^^^^^^^^^^^

`

48

48

``

49

49

`` error[E0511]: invalid monomorphization of simd_xor intrinsic: expected SIMD input type, found non-SIMD i32

``

50

``

`-

--> $DIR/generic-arithmetic-2.rs:97:9

`

``

50

`+

--> $DIR/generic-arithmetic-2.rs:126:9

`

51

51

` |

`

52

52

`LL | simd_xor(0, 0);

`

53

53

` | ^^^^^^^^^^^^^^

`

54

54

``

55

55

`` error[E0511]: invalid monomorphization of simd_neg intrinsic: expected SIMD input type, found non-SIMD i32

``

56

``

`-

--> $DIR/generic-arithmetic-2.rs💯9

`

``

56

`+

--> $DIR/generic-arithmetic-2.rs:129:9

`

57

57

` |

`

58

58

`LL | simd_neg(0);

`

59

59

` | ^^^^^^^^^^^

`

60

60

``

61

61

`` error[E0511]: invalid monomorphization of simd_bswap intrinsic: expected SIMD input type, found non-SIMD i32

``

62

``

`-

--> $DIR/generic-arithmetic-2.rs:102:9

`

``

62

`+

--> $DIR/generic-arithmetic-2.rs:131:9

`

63

63

` |

`

64

64

`LL | simd_bswap(0);

`

65

65

` | ^^^^^^^^^^^^^

`

66

66

``

67

67

`` error[E0511]: invalid monomorphization of simd_bitreverse intrinsic: expected SIMD input type, found non-SIMD i32

``

68

``

`-

--> $DIR/generic-arithmetic-2.rs:104:9

`

``

68

`+

--> $DIR/generic-arithmetic-2.rs:133:9

`

69

69

` |

`

70

70

`LL | simd_bitreverse(0);

`

71

71

` | ^^^^^^^^^^^^^^^^^^

`

72

72

``

73

73

`` error[E0511]: invalid monomorphization of simd_ctlz intrinsic: expected SIMD input type, found non-SIMD i32

``

74

``

`-

--> $DIR/generic-arithmetic-2.rs:106:9

`

``

74

`+

--> $DIR/generic-arithmetic-2.rs:135:9

`

75

75

` |

`

76

76

`LL | simd_ctlz(0);

`

77

77

` | ^^^^^^^^^^^^

`

78

78

``

79

79

`` error[E0511]: invalid monomorphization of simd_cttz intrinsic: expected SIMD input type, found non-SIMD i32

``

80

``

`-

--> $DIR/generic-arithmetic-2.rs:108:9

`

``

80

`+

--> $DIR/generic-arithmetic-2.rs:137:9

`

81

81

` |

`

82

82

`LL | simd_cttz(0);

`

83

83

` | ^^^^^^^^^^^^

`

84

84

``

85

85

`` error[E0511]: invalid monomorphization of simd_shl intrinsic: unsupported operation on f32x4 with element f32

``

86

``

`-

--> $DIR/generic-arithmetic-2.rs:111:9

`

``

86

`+

--> $DIR/generic-arithmetic-2.rs:140:9

`

87

87

` |

`

88

88

`LL | simd_shl(z, z);

`

89

89

` | ^^^^^^^^^^^^^^

`

90

90

``

91

91

`` error[E0511]: invalid monomorphization of simd_shr intrinsic: unsupported operation on f32x4 with element f32

``

92

``

`-

--> $DIR/generic-arithmetic-2.rs:113:9

`

``

92

`+

--> $DIR/generic-arithmetic-2.rs:142:9

`

93

93

` |

`

94

94

`LL | simd_shr(z, z);

`

95

95

` | ^^^^^^^^^^^^^^

`

96

96

``

97

97

`` error[E0511]: invalid monomorphization of simd_and intrinsic: unsupported operation on f32x4 with element f32

``

98

``

`-

--> $DIR/generic-arithmetic-2.rs:115:9

`

``

98

`+

--> $DIR/generic-arithmetic-2.rs:144:9

`

99

99

` |

`

100

100

`LL | simd_and(z, z);

`

101

101

` | ^^^^^^^^^^^^^^

`

102

102

``

103

103

`` error[E0511]: invalid monomorphization of simd_or intrinsic: unsupported operation on f32x4 with element f32

``

104

``

`-

--> $DIR/generic-arithmetic-2.rs:117:9

`

``

104

`+

--> $DIR/generic-arithmetic-2.rs:146:9

`

105

105

` |

`

106

106

`LL | simd_or(z, z);

`

107

107

` | ^^^^^^^^^^^^^

`

108

108

``

109

109

`` error[E0511]: invalid monomorphization of simd_xor intrinsic: unsupported operation on f32x4 with element f32

``

110

``

`-

--> $DIR/generic-arithmetic-2.rs:119:9

`

``

110

`+

--> $DIR/generic-arithmetic-2.rs:148:9

`

111

111

` |

`

112

112

`LL | simd_xor(z, z);

`

113

113

` | ^^^^^^^^^^^^^^

`

114

114

``

115

115

`` error[E0511]: invalid monomorphization of simd_bswap intrinsic: unsupported operation on f32x4 with element f32

``

116

``

`-

--> $DIR/generic-arithmetic-2.rs:121:9

`

``

116

`+

--> $DIR/generic-arithmetic-2.rs:150:9

`

117

117

` |

`

118

118

`LL | simd_bswap(z);

`

119

119

` | ^^^^^^^^^^^^^

`

120

120

``

121

121

`` error[E0511]: invalid monomorphization of simd_bitreverse intrinsic: unsupported operation on f32x4 with element f32

``

122

``

`-

--> $DIR/generic-arithmetic-2.rs:123:9

`

``

122

`+

--> $DIR/generic-arithmetic-2.rs:152:9

`

123

123

` |

`

124

124

`LL | simd_bitreverse(z);

`

125

125

` | ^^^^^^^^^^^^^^^^^^

`

126

126

``

127

127

`` error[E0511]: invalid monomorphization of simd_ctlz intrinsic: unsupported operation on f32x4 with element f32

``

128

``

`-

--> $DIR/generic-arithmetic-2.rs:125:9

`

``

128

`+

--> $DIR/generic-arithmetic-2.rs:154:9

`

129

129

` |

`

130

130

`LL | simd_ctlz(z);

`

131

131

` | ^^^^^^^^^^^^

`

132

132

``

133

133

`` error[E0511]: invalid monomorphization of simd_ctpop intrinsic: unsupported operation on f32x4 with element f32

``

134

``

`-

--> $DIR/generic-arithmetic-2.rs:127:9

`

``

134

`+

--> $DIR/generic-arithmetic-2.rs:156:9

`

135

135

` |

`

136

136

`LL | simd_ctpop(z);

`

137

137

` | ^^^^^^^^^^^^^

`

138

138

``

139

139

`` error[E0511]: invalid monomorphization of simd_cttz intrinsic: unsupported operation on f32x4 with element f32

``

140

``

`-

--> $DIR/generic-arithmetic-2.rs:129:9

`

``

140

`+

--> $DIR/generic-arithmetic-2.rs:158:9

`

141

141

` |

`

142

142

`LL | simd_cttz(z);

`

143

143

` | ^^^^^^^^^^^^

`