blob: d9190cfb5d5516d5b271b2b55f54c415ccfa32c0 [file] [log] [blame]
Dejan Mircevskib6fe02f2016-01-07 13:44:22 -05001// Copyright (c) 2015-2016 The Khronos Group Inc.
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +01002//
David Neto9fc86582016-09-01 15:33:59 -04003// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +01006//
David Neto9fc86582016-09-01 15:33:59 -04007// http://www.apache.org/licenses/LICENSE-2.0
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +01008//
David Neto9fc86582016-09-01 15:33:59 -04009// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010014
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010015#include "opcode.h"
16
17#include <assert.h>
18#include <string.h>
19
David Neto5a0b5ca2016-12-09 14:01:43 -050020#include <algorithm>
Lei Zhang972788b2015-11-12 13:48:30 -050021#include <cstdlib>
22
Lei Zhang923f6c12015-11-11 12:45:23 -050023#include "instruction.h"
Lei Zhangca1bf942016-04-27 16:47:13 -040024#include "macro.h"
David Neto5a703352016-02-17 14:44:00 -050025#include "spirv-tools/libspirv.h"
Lei Zhangaa056cd2015-11-11 14:24:04 -050026#include "spirv_constant.h"
David Neto4c215712015-12-22 15:08:41 -050027#include "spirv_endian.h"
Lei Zhang923f6c12015-11-11 12:45:23 -050028
David Neto78c3b432015-08-27 13:03:52 -040029namespace {
Lei Zhang16981f82017-09-21 17:24:57 -040030struct OpcodeDescPtrLen {
31 const spv_opcode_desc_t* ptr;
32 uint32_t len;
33};
David Neto78c3b432015-08-27 13:03:52 -040034
David Neto00fa3932018-02-09 14:29:02 -050035#include "core.insts-unified1.inc" // defines kOpcodeTableEntries_1_3
Lei Zhang16981f82017-09-21 17:24:57 -040036
Lei Zhang1ef6b192018-03-14 13:06:18 -040037static const spv_opcode_table_t kOpcodeTable = {ARRAY_SIZE(kOpcodeTableEntries),
38 kOpcodeTableEntries};
David Neto78c3b432015-08-27 13:03:52 -040039
David Neto5a0b5ca2016-12-09 14:01:43 -050040// Represents a vendor tool entry in the SPIR-V XML Regsitry.
41struct VendorTool {
42 uint32_t value;
43 const char* vendor;
Lei Zhang16981f82017-09-21 17:24:57 -040044 const char* tool; // Might be empty string.
45 const char* vendor_tool; // Combiantion of vendor and tool.
David Neto5a0b5ca2016-12-09 14:01:43 -050046};
47
48const VendorTool vendor_tools[] = {
49#include "generators.inc"
50};
51
Lei Zhanga94701d2015-09-14 10:05:37 -040052} // anonymous namespace
David Neto78c3b432015-08-27 13:03:52 -040053
David Neto5a0b5ca2016-12-09 14:01:43 -050054// TODO(dneto): Move this to another file. It doesn't belong with opcode
55// processing.
Lei Zhang1a0334e2015-11-02 09:41:20 -050056const char* spvGeneratorStr(uint32_t generator) {
David Neto5a0b5ca2016-12-09 14:01:43 -050057 auto where = std::find_if(
58 std::begin(vendor_tools), std::end(vendor_tools),
59 [generator](const VendorTool& vt) { return generator == vt.value; });
60 if (where != std::end(vendor_tools)) return where->vendor_tool;
61 return "Unknown";
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010062}
63
Lei Zhangb36e7042015-10-28 13:40:52 -040064uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) {
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010065 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16);
66}
67
Lei Zhang6fa3f8a2016-03-31 17:26:31 -040068void spvOpcodeSplit(const uint32_t word, uint16_t* pWordCount,
69 uint16_t* pOpcode) {
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010070 if (pWordCount) {
71 *pWordCount = (uint16_t)((0xffff0000 & word) >> 16);
72 }
73 if (pOpcode) {
Lei Zhang6fa3f8a2016-03-31 17:26:31 -040074 *pOpcode = 0x0000ffff & word;
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010075 }
76}
77
Lei Zhang1ef6b192018-03-14 13:06:18 -040078spv_result_t spvOpcodeTableGet(spv_opcode_table* pInstTable, spv_target_env) {
Lei Zhang40056702015-09-11 14:31:27 -040079 if (!pInstTable) return SPV_ERROR_INVALID_POINTER;
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010080
Lei Zhang16981f82017-09-21 17:24:57 -040081 // Descriptions of each opcode. Each entry describes the format of the
82 // instruction that follows a particular opcode.
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010083
Lei Zhang1ef6b192018-03-14 13:06:18 -040084 *pInstTable = &kOpcodeTable;
85 return SPV_SUCCESS;
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010086}
87
Lei Zhang1ef6b192018-03-14 13:06:18 -040088spv_result_t spvOpcodeTableNameLookup(spv_target_env env,
89 const spv_opcode_table table,
Lei Zhang1a0334e2015-11-02 09:41:20 -050090 const char* name,
91 spv_opcode_desc* pEntry) {
Lei Zhang40056702015-09-11 14:31:27 -040092 if (!name || !pEntry) return SPV_ERROR_INVALID_POINTER;
93 if (!table) return SPV_ERROR_INVALID_TABLE;
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010094
95 // TODO: This lookup of the Opcode table is suboptimal! Binary sort would be
96 // preferable but the table requires sorting on the Opcode name, but it's
Lei Zhang1ef6b192018-03-14 13:06:18 -040097 // static const initialized and matches the order of the spec.
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +010098 const size_t nameLength = strlen(name);
99 for (uint64_t opcodeIndex = 0; opcodeIndex < table->count; ++opcodeIndex) {
Lei Zhang1ef6b192018-03-14 13:06:18 -0400100 const spv_opcode_desc_t& entry = table->entries[opcodeIndex];
101 // We considers the current opcode as available as long as
102 // 1. The target environment satisfies the minimal requirement of the
103 // opcode; or
104 // 2. There is at least one extension enabling this opcode.
105 //
106 // Note that the second rule assumes the extension enabling this instruction
107 // is indeed requested in the SPIR-V code; checking that should be
108 // validator's work.
109 if ((static_cast<uint32_t>(env) >= entry.minVersion ||
110 entry.numExtensions > 0u) &&
111 nameLength == strlen(entry.name) &&
112 !strncmp(name, entry.name, nameLength)) {
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100113 // NOTE: Found out Opcode!
Lei Zhang1ef6b192018-03-14 13:06:18 -0400114 *pEntry = &entry;
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100115 return SPV_SUCCESS;
116 }
117 }
118
119 return SPV_ERROR_INVALID_LOOKUP;
120}
121
Lei Zhang1ef6b192018-03-14 13:06:18 -0400122spv_result_t spvOpcodeTableValueLookup(spv_target_env env,
123 const spv_opcode_table table,
Lei Zhangb36e7042015-10-28 13:40:52 -0400124 const SpvOp opcode,
Lei Zhang1a0334e2015-11-02 09:41:20 -0500125 spv_opcode_desc* pEntry) {
Lei Zhang40056702015-09-11 14:31:27 -0400126 if (!table) return SPV_ERROR_INVALID_TABLE;
127 if (!pEntry) return SPV_ERROR_INVALID_POINTER;
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100128
Jesus Carabanof063f912017-10-27 15:28:50 +0300129 const auto beg = table->entries;
130 const auto end = table->entries + table->count;
Lei Zhang1ef6b192018-03-14 13:06:18 -0400131
132 spv_opcode_desc_t needle = {"", opcode, 0, nullptr, 0, {},
133 false, false, 0, nullptr, ~0u};
134
Jesus Carabanof063f912017-10-27 15:28:50 +0300135 auto comp = [](const spv_opcode_desc_t& lhs, const spv_opcode_desc_t& rhs) {
136 return lhs.opcode < rhs.opcode;
137 };
Lei Zhang1ef6b192018-03-14 13:06:18 -0400138
139 // We need to loop here because there can exist multiple symbols for the same
140 // opcode value, and they can be introduced in different target environments,
141 // which means they can have different minimal version requirements.
142 // Assumes the underlying table is already sorted ascendingly according to
143 // opcode value.
144 for (auto it = std::lower_bound(beg, end, needle, comp);
145 it != end && it->opcode == opcode; ++it) {
146 // We considers the current opcode as available as long as
147 // 1. The target environment satisfies the minimal requirement of the
148 // opcode; or
149 // 2. There is at least one extension enabling this opcode.
150 //
151 // Note that the second rule assumes the extension enabling this instruction
152 // is indeed requested in the SPIR-V code; checking that should be
153 // validator's work.
154 if (static_cast<uint32_t>(env) >= it->minVersion ||
155 it->numExtensions > 0u) {
156 *pEntry = it;
157 return SPV_SUCCESS;
158 }
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100159 }
160
161 return SPV_ERROR_INVALID_LOOKUP;
162}
163
Lei Zhang1a0334e2015-11-02 09:41:20 -0500164void spvInstructionCopy(const uint32_t* words, const SpvOp opcode,
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100165 const uint16_t wordCount, const spv_endianness_t endian,
Lei Zhang1a0334e2015-11-02 09:41:20 -0500166 spv_instruction_t* pInst) {
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100167 pInst->opcode = opcode;
David Netob5dc8fc2015-10-06 16:22:00 -0400168 pInst->words.resize(wordCount);
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100169 for (uint16_t wordIndex = 0; wordIndex < wordCount; ++wordIndex) {
170 pInst->words[wordIndex] = spvFixWord(words[wordIndex], endian);
171 if (!wordIndex) {
172 uint16_t thisWordCount;
Lei Zhang6fa3f8a2016-03-31 17:26:31 -0400173 uint16_t thisOpcode;
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100174 spvOpcodeSplit(pInst->words[wordIndex], &thisWordCount, &thisOpcode);
Lei Zhang6fa3f8a2016-03-31 17:26:31 -0400175 assert(opcode == static_cast<SpvOp>(thisOpcode) &&
176 wordCount == thisWordCount && "Endianness failed!");
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100177 }
178 }
179}
180
Lei Zhang1a0334e2015-11-02 09:41:20 -0500181const char* spvOpcodeString(const SpvOp opcode) {
Lei Zhang1ef6b192018-03-14 13:06:18 -0400182 const auto beg = kOpcodeTableEntries;
183 const auto end = kOpcodeTableEntries + ARRAY_SIZE(kOpcodeTableEntries);
184 spv_opcode_desc_t needle = {"", opcode, 0, nullptr, 0, {},
185 false, false, 0, nullptr, ~0u};
Jesus Carabanof063f912017-10-27 15:28:50 +0300186 auto comp = [](const spv_opcode_desc_t& lhs, const spv_opcode_desc_t& rhs) {
187 return lhs.opcode < rhs.opcode;
188 };
Lei Zhang1ef6b192018-03-14 13:06:18 -0400189 auto it = std::lower_bound(beg, end, needle, comp);
Diego Novillod2938e42017-11-08 12:40:02 -0500190 if (it != end && it->opcode == opcode) {
Jesus Carabanof063f912017-10-27 15:28:50 +0300191 return it->name;
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100192 }
Lei Zhang16981f82017-09-21 17:24:57 -0400193
Lei Zhang4f293b72016-03-21 16:36:14 -0400194 assert(0 && "Unreachable!");
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100195 return "unknown";
196}
197
Lei Zhangb36e7042015-10-28 13:40:52 -0400198int32_t spvOpcodeIsScalarType(const SpvOp opcode) {
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100199 switch (opcode) {
Lei Zhangb36e7042015-10-28 13:40:52 -0400200 case SpvOpTypeInt:
201 case SpvOpTypeFloat:
Dejan Mircevski276a7242016-01-21 15:55:43 -0500202 case SpvOpTypeBool:
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100203 return true;
204 default:
205 return false;
206 }
207}
208
Lei Zhangb36e7042015-10-28 13:40:52 -0400209int32_t spvOpcodeIsConstant(const SpvOp opcode) {
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100210 switch (opcode) {
Lei Zhangb36e7042015-10-28 13:40:52 -0400211 case SpvOpConstantTrue:
212 case SpvOpConstantFalse:
213 case SpvOpConstant:
214 case SpvOpConstantComposite:
215 case SpvOpConstantSampler:
Lei Zhangb36e7042015-10-28 13:40:52 -0400216 case SpvOpConstantNull:
217 case SpvOpSpecConstantTrue:
218 case SpvOpSpecConstantFalse:
219 case SpvOpSpecConstant:
220 case SpvOpSpecConstantComposite:
Dejan Mircevski3fb26762016-04-04 15:55:05 -0400221 case SpvOpSpecConstantOp:
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100222 return true;
223 default:
224 return false;
225 }
226}
227
David Neto1f3fb502016-09-14 11:57:20 -0400228bool spvOpcodeIsConstantOrUndef(const SpvOp opcode) {
229 return opcode == SpvOpUndef || spvOpcodeIsConstant(opcode);
230}
231
Aliya Pazylbekovaedb52642017-02-24 20:43:28 -0500232bool spvOpcodeIsScalarSpecConstant(const SpvOp opcode) {
233 switch (opcode) {
234 case SpvOpSpecConstantTrue:
235 case SpvOpSpecConstantFalse:
236 case SpvOpSpecConstant:
237 return true;
238 default:
239 return false;
240 }
241}
242
Lei Zhangb36e7042015-10-28 13:40:52 -0400243int32_t spvOpcodeIsComposite(const SpvOp opcode) {
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100244 switch (opcode) {
Lei Zhangb36e7042015-10-28 13:40:52 -0400245 case SpvOpTypeVector:
246 case SpvOpTypeMatrix:
247 case SpvOpTypeArray:
248 case SpvOpTypeStruct:
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100249 return true;
250 default:
251 return false;
252 }
253}
254
Ehsan Nasiri23af06c2017-02-01 15:37:39 -0500255bool spvOpcodeReturnsLogicalVariablePointer(const SpvOp opcode) {
256 switch (opcode) {
257 case SpvOpVariable:
258 case SpvOpAccessChain:
259 case SpvOpInBoundsAccessChain:
260 case SpvOpFunctionParameter:
261 case SpvOpImageTexelPointer:
262 case SpvOpCopyObject:
263 case SpvOpSelect:
264 case SpvOpPhi:
265 case SpvOpFunctionCall:
266 case SpvOpPtrAccessChain:
267 case SpvOpLoad:
268 case SpvOpConstantNull:
269 return true;
270 default:
271 return false;
272 }
273}
274
Florian Ziesche66fcb452016-03-02 22:17:54 +0100275int32_t spvOpcodeReturnsLogicalPointer(const SpvOp opcode) {
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100276 switch (opcode) {
Lei Zhangb36e7042015-10-28 13:40:52 -0400277 case SpvOpVariable:
278 case SpvOpAccessChain:
279 case SpvOpInBoundsAccessChain:
280 case SpvOpFunctionParameter:
Florian Ziesche66fcb452016-03-02 22:17:54 +0100281 case SpvOpImageTexelPointer:
282 case SpvOpCopyObject:
Kenneth Benzie (Benie)83e5a292015-05-22 18:26:19 +0100283 return true;
284 default:
285 return false;
286 }
287}
288
Lei Zhangb36e7042015-10-28 13:40:52 -0400289int32_t spvOpcodeGeneratesType(SpvOp op) {
Lei Zhang1a0334e2015-11-02 09:41:20 -0500290 switch (op) {
Lei Zhangb36e7042015-10-28 13:40:52 -0400291 case SpvOpTypeVoid:
292 case SpvOpTypeBool:
293 case SpvOpTypeInt:
294 case SpvOpTypeFloat:
295 case SpvOpTypeVector:
296 case SpvOpTypeMatrix:
297 case SpvOpTypeImage:
298 case SpvOpTypeSampler:
299 case SpvOpTypeSampledImage:
300 case SpvOpTypeArray:
301 case SpvOpTypeRuntimeArray:
302 case SpvOpTypeStruct:
303 case SpvOpTypeOpaque:
304 case SpvOpTypePointer:
305 case SpvOpTypeFunction:
306 case SpvOpTypeEvent:
307 case SpvOpTypeDeviceEvent:
308 case SpvOpTypeReserveId:
309 case SpvOpTypeQueue:
310 case SpvOpTypePipe:
Andrey Tuganov4ef3b3e2017-02-28 11:53:47 -0500311 case SpvOpTypePipeStorage:
312 case SpvOpTypeNamedBarrier:
Andrew Woloszyn537e7762015-09-29 11:28:34 -0400313 return true;
David Netoaef608c2015-11-02 14:59:02 -0500314 default:
315 // In particular, OpTypeForwardPointer does not generate a type,
316 // but declares a storage class for a pointer type generated
317 // by a different instruction.
318 break;
Andrew Woloszyn537e7762015-09-29 11:28:34 -0400319 }
320 return 0;
321}
Steven Perroneb4653a2017-11-13 15:31:43 -0500322
323bool spvOpcodeIsDecoration(const SpvOp opcode) {
Steven Perron28c41552017-11-10 20:26:55 -0500324 switch (opcode) {
Steven Perroneb4653a2017-11-13 15:31:43 -0500325 case SpvOpDecorate:
326 case SpvOpDecorateId:
327 case SpvOpMemberDecorate:
328 case SpvOpGroupDecorate:
329 case SpvOpGroupMemberDecorate:
David Neto5f69f752018-03-05 13:34:13 -0500330 case SpvOpDecorateStringGOOGLE:
331 case SpvOpMemberDecorateStringGOOGLE:
Steven Perroneb4653a2017-11-13 15:31:43 -0500332 return true;
333 default:
334 break;
335 }
336 return false;
337}
Steven Perron28c41552017-11-10 20:26:55 -0500338
339bool spvOpcodeIsLoad(const SpvOp opcode) {
340 switch (opcode) {
341 case SpvOpLoad:
342 case SpvOpImageSampleExplicitLod:
343 case SpvOpImageSampleImplicitLod:
344 case SpvOpImageSampleDrefImplicitLod:
345 case SpvOpImageSampleDrefExplicitLod:
346 case SpvOpImageSampleProjImplicitLod:
347 case SpvOpImageSampleProjExplicitLod:
348 case SpvOpImageSampleProjDrefImplicitLod:
349 case SpvOpImageSampleProjDrefExplicitLod:
350 case SpvOpImageFetch:
351 case SpvOpImageGather:
352 case SpvOpImageDrefGather:
353 case SpvOpImageRead:
354 case SpvOpImageSparseSampleImplicitLod:
355 case SpvOpImageSparseSampleExplicitLod:
356 case SpvOpImageSparseSampleDrefExplicitLod:
357 case SpvOpImageSparseSampleDrefImplicitLod:
358 case SpvOpImageSparseFetch:
359 case SpvOpImageSparseGather:
360 case SpvOpImageSparseDrefGather:
361 case SpvOpImageSparseRead:
362 return true;
363 default:
364 return false;
365 }
366}
367
Diego Novillo74327842017-11-17 08:59:25 -0500368bool spvOpcodeIsBranch(SpvOp opcode) {
369 switch (opcode) {
370 case SpvOpBranch:
371 case SpvOpBranchConditional:
372 case SpvOpSwitch:
373 return true;
374 default:
375 return false;
376 }
377}
378
Steven Perron28c41552017-11-10 20:26:55 -0500379bool spvOpcodeIsAtomicOp(const SpvOp opcode) {
380 switch (opcode) {
381 case SpvOpAtomicLoad:
382 case SpvOpAtomicStore:
383 case SpvOpAtomicExchange:
384 case SpvOpAtomicCompareExchange:
385 case SpvOpAtomicCompareExchangeWeak:
386 case SpvOpAtomicIIncrement:
387 case SpvOpAtomicIDecrement:
388 case SpvOpAtomicIAdd:
389 case SpvOpAtomicISub:
390 case SpvOpAtomicSMin:
391 case SpvOpAtomicUMin:
392 case SpvOpAtomicSMax:
393 case SpvOpAtomicUMax:
394 case SpvOpAtomicAnd:
395 case SpvOpAtomicOr:
396 case SpvOpAtomicXor:
397 case SpvOpAtomicFlagTestAndSet:
398 case SpvOpAtomicFlagClear:
399 return true;
400 default:
401 return false;
402 }
403}
Diego Novillo74327842017-11-17 08:59:25 -0500404
405bool spvOpcodeIsReturn(SpvOp opcode) {
406 switch (opcode) {
407 case SpvOpReturn:
408 case SpvOpReturnValue:
409 return true;
410 default:
411 return false;
412 }
413}
414
Diego Novillo5f100782018-01-03 15:25:03 -0500415bool spvOpcodeIsReturnOrAbort(SpvOp opcode) {
416 return spvOpcodeIsReturn(opcode) || opcode == SpvOpKill ||
417 opcode == SpvOpUnreachable;
418}
419
Diego Novillo74327842017-11-17 08:59:25 -0500420bool spvOpcodeIsBlockTerminator(SpvOp opcode) {
Diego Novillo5f100782018-01-03 15:25:03 -0500421 return spvOpcodeIsBranch(opcode) || spvOpcodeIsReturnOrAbort(opcode);
Diego Novillo74327842017-11-17 08:59:25 -0500422}
Steven Perron79a00642017-12-11 13:10:24 -0500423
424bool spvOpcodeIsBaseOpaqueType(SpvOp opcode) {
425 switch (opcode) {
426 case SpvOpTypeImage:
427 case SpvOpTypeSampler:
428 case SpvOpTypeSampledImage:
429 case SpvOpTypeOpaque:
430 case SpvOpTypeEvent:
431 case SpvOpTypeDeviceEvent:
432 case SpvOpTypeReserveId:
433 case SpvOpTypeQueue:
434 case SpvOpTypePipe:
435 case SpvOpTypeForwardPointer:
436 case SpvOpTypePipeStorage:
437 case SpvOpTypeNamedBarrier:
438 return true;
439 default:
440 return false;
441 }
442}