BOAST 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a08dddbeff252dc8f48dbca078159aabf612a217
4
- data.tar.gz: cd4555d0b435ff4275cbb1cdcf9ae8939694e291
3
+ metadata.gz: cbd2452cbfdaa4e05ac12dbc55c950afe3471a5f
4
+ data.tar.gz: 4fb4356baea8f0c2243b0e3d907e1e81e7216541
5
5
  SHA512:
6
- metadata.gz: 3b5586917cd2aa895880b8253307b455f02af3bcec7cd5d9e1f9b654645bab991815bcbd49a14822d5952ad4b3dba4fc5a8ac01904bfda149dd34dcef6d10abb
7
- data.tar.gz: ef3a5b5c62c0c07b0b22159869e34bba73c6d2b1b6262c2e96ae4a429faa79cb9d4c5c4f5d91971597bd2d72bc6a7179643ad92902883be9af9edf077ab7ca08
6
+ metadata.gz: 906f635eb70b0b5f5d031a94596bbacbfdb44e43246f1e064ae4dd82d15eab132455216bfdf064d666edfbb8f3148ebec8e4094cce2943d29a2f6d418536115e
7
+ data.tar.gz: 83815a3e0d3eabb51a054423bf61ef718ddfbc5aa337dad6defed895dbca0b31709ddef0b2e44547527a4c418aca0fd70a2a0b6b4ba7e65883485b6eb088b54f
data/BOAST.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'BOAST'
3
- s.version = "1.3.4"
3
+ s.version = "1.3.5"
4
4
  s.author = "Brice Videau"
5
5
  s.email = "brice.videau@imag.fr"
6
6
  s.homepage = "https://github.com/Nanosim-LIG/boast"
@@ -98,13 +98,13 @@ module BOAST
98
98
  vars.each { |key, value|
99
99
  var = nil
100
100
  begin
101
- var = BOAST::class_variable_get("@@"+key.to_s)
101
+ var = BOAST::send("get_#{key}")
102
102
  rescue
103
103
  BOAST::pop_env(*keys)
104
104
  raise "Unknown module variable #{key}!"
105
105
  end
106
106
  @@env[key].push(var)
107
- BOAST::class_variable_set("@@"+key.to_s, value)
107
+ BOAST::send("set_#{key}", value)
108
108
  keys.push(key)
109
109
  }
110
110
  if block then
@@ -123,7 +123,7 @@ module BOAST
123
123
  raise "Unknown module variable #{key}!" unless @@env.has_key?(key)
124
124
  ret = @@env[key].pop
125
125
  raise "No stored value for #{key}!" if ret.nil?
126
- BOAST::class_variable_set("@@"+key.to_s, ret)
126
+ BOAST::send("set_#{key}", ret)
127
127
  }
128
128
  end
129
129
 
@@ -91,6 +91,32 @@ X86architectures ={"pentium2"=>["MMX"],
91
91
  "RDSEED",
92
92
  "ADCX",
93
93
  "PREFETCHW"],
94
+ "skylake"=>
95
+ ["MOVBE",
96
+ "MMX",
97
+ "SSE",
98
+ "SSE2",
99
+ "SSE3",
100
+ "SSSE3",
101
+ "SSE4.1",
102
+ "SSE4.2",
103
+ "POPCNT",
104
+ "AVX",
105
+ "AVX2",
106
+ "AES",
107
+ "PCLMUL",
108
+ "FSGSBASE",
109
+ "RDRND",
110
+ "FMA",
111
+ "BMI",
112
+ "BMI2",
113
+ "F16C",
114
+ "RDSEED",
115
+ "ADCX",
116
+ "PREFETCHW",
117
+ "CLFLUSHOPT",
118
+ "XSAVEC",
119
+ "XSAVES"],
94
120
  "knl"=>
95
121
  ["MOVBE",
96
122
  "MMX",
@@ -118,6 +144,38 @@ X86architectures ={"pentium2"=>["MMX"],
118
144
  "AVX512PF",
119
145
  "AVX512ER",
120
146
  "AVX512CD"],
147
+ "skylake-avx512"=>
148
+ ["MOVBE",
149
+ "MMX",
150
+ "SSE",
151
+ "SSE2",
152
+ "SSE3",
153
+ "SSSE3",
154
+ "SSE4.1",
155
+ "SSE4.2",
156
+ "POPCNT",
157
+ "PKU",
158
+ "AVX",
159
+ "AVX2",
160
+ "AES",
161
+ "PCLMUL",
162
+ "FSGSBASE",
163
+ "RDRND",
164
+ "FMA",
165
+ "BMI",
166
+ "BMI2",
167
+ "F16C",
168
+ "RDSEED",
169
+ "ADCX",
170
+ "PREFETCHW",
171
+ "CLFLUSHOPT",
172
+ "XSAVEC",
173
+ "XSAVES",
174
+ "AVX512F",
175
+ "AVX512VL",
176
+ "AVX512BW",
177
+ "AVX512DQ",
178
+ "AVX512CD"],
121
179
  "bonnell"=>["MOVBE", "MMX", "SSE", "SSE2", "SSE3", "SSSE3"],
122
180
  "silvermont"=>
123
181
  ["MOVBE",