48 lines
969 B
Java
Raw Normal View History

2017-04-11 21:16:27 +02:00
/*
2018-03-27 20:04:35 +02:00
* Copyright 2017 - 2018 Volker Berlin (i-net software)
2017-04-11 21:16:27 +02:00
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
2018-12-03 21:09:22 +01:00
package de.inetsoftware.jwebassembly.wasm;
2017-04-11 21:16:27 +02:00
/**
* @author Volker Berlin
*/
public enum NumericOperator {
add,
sub,
2018-04-02 19:15:42 +02:00
neg,
2017-04-14 16:31:35 +02:00
mul,
div,
2019-07-06 15:42:47 +02:00
sqrt,
2017-04-14 16:31:35 +02:00
rem,
2017-04-16 12:20:53 +02:00
and,
or,
xor,
shl,
shr_s,
shr_u,
2018-12-15 22:33:25 +01:00
eqz,
2018-03-25 12:57:04 +02:00
eq,
ne,
2018-03-27 20:04:35 +02:00
gt,
lt,
le,
ge,
2018-11-16 20:12:55 +01:00
max,
2018-12-15 22:33:25 +01:00
ifnull,
ifnonnull,
ref_eq,
ref_ne,
2017-04-11 21:16:27 +02:00
}