instrs

package
v0.0.0-...-27647ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unreachable                = 1
	Nop                        = 2
	Block                      = 3
	Loop                       = 4
	If                         = 5
	Else                       = 6
	End                        = 7
	Br                         = 8
	BrIf                       = 9
	BrTable                    = 10
	Return                     = 11
	Call                       = 12
	CallIndirect               = 13
	Drop                       = 14
	Select                     = 15
	SelectType                 = 16
	LocalGet                   = 17
	LocalSet                   = 18
	LocalTee                   = 19
	GlobalGet                  = 20
	GlobalSet                  = 21
	TableGet                   = 22
	TableSet                   = 23
	TableInit                  = 24
	ElemDrop                   = 25
	TableCopy                  = 26
	TableGrow                  = 27
	TableSize                  = 28
	TableFill                  = 29
	Load_I32                   = 30
	Load_I64                   = 31
	Load_F32                   = 32
	Load_F64                   = 33
	Load8S_I32                 = 34
	Load8U_I32                 = 35
	Load16S_I32                = 36
	Load16U_I32                = 37
	Load8S_I64                 = 38
	Load8U_I64                 = 39
	Load16S_I64                = 40
	Load16U_I64                = 41
	Load32S_I64                = 42
	Load32U_I64                = 43
	Store_I32                  = 44
	Store_I64                  = 45
	Store_F32                  = 46
	Store_F64                  = 47
	Store8_I32                 = 48
	Store16_I32                = 49
	Store8_I64                 = 50
	Store16_I64                = 51
	Store32_I64                = 52
	MemorySize                 = 53
	MemoryGrow                 = 54
	MemoryInit                 = 55
	DataDrop                   = 56
	MemoryCopy                 = 57
	MemoryFill                 = 58
	Const_I32                  = 59
	Const_I64                  = 60
	Const_F32                  = 61
	Const_F64                  = 62
	Eqz_I32                    = 63
	Eq_I32                     = 64
	Ne_I32                     = 65
	LtS_I32                    = 66
	LtU_I32                    = 67
	GtS_I32                    = 68
	GtU_I32                    = 69
	LeS_I32                    = 70
	LeU_I32                    = 71
	GeS_I32                    = 72
	GeU_I32                    = 73
	Eqz_I64                    = 74
	Eq_I64                     = 75
	Ne_I64                     = 76
	LtS_I64                    = 77
	LtU_I64                    = 78
	GtS_I64                    = 79
	GtU_I64                    = 80
	LeS_I64                    = 81
	LeU_I64                    = 82
	GeS_I64                    = 83
	GeU_I64                    = 84
	Eq_F32                     = 85
	Ne_F32                     = 86
	Lt_F32                     = 87
	Gt_F32                     = 88
	Le_F32                     = 89
	Ge_F32                     = 90
	Eq_F64                     = 91
	Ne_F64                     = 92
	Lt_F64                     = 93
	Gt_F64                     = 94
	Le_F64                     = 95
	Ge_F64                     = 96
	Clz_I32                    = 97
	Ctz_I32                    = 98
	Popcnt_I32                 = 99
	Add_I32                    = 100
	Sub_I32                    = 101
	Mul_I32                    = 102
	DivS_I32                   = 103
	DivU_I32                   = 104
	RemS_I32                   = 105
	RemU_I32                   = 106
	And_I32                    = 107
	Or_I32                     = 108
	Xor_I32                    = 109
	Shl_I32                    = 110
	ShrS_I32                   = 111
	ShrU_I32                   = 112
	RotL_I32                   = 113
	RotR_I32                   = 114
	Clz_I64                    = 115
	Ctz_I64                    = 116
	Popcnt_I64                 = 117
	Add_I64                    = 118
	Sub_I64                    = 119
	Mul_I64                    = 120
	DivS_I64                   = 121
	DivU_I64                   = 122
	RemS_I64                   = 123
	RemU_I64                   = 124
	And_I64                    = 125
	Or_I64                     = 126
	Xor_I64                    = 127
	Shl_I64                    = 128
	ShrS_I64                   = 129
	ShrU_I64                   = 130
	RotL_I64                   = 131
	RotR_I64                   = 132
	Abs_F32                    = 133
	Neg_F32                    = 134
	Ceil_F32                   = 135
	Floor_F32                  = 136
	Trunc_F32                  = 137
	Nearest_F32                = 138
	Sqrt_F32                   = 139
	Add_F32                    = 140
	Sub_F32                    = 141
	Mul_F32                    = 142
	Div_F32                    = 143
	Min_F32                    = 144
	Max_F32                    = 145
	Copysign_F32               = 146
	Abs_F64                    = 147
	Neg_F64                    = 148
	Ceil_F64                   = 149
	Floor_F64                  = 150
	Trunc_F64                  = 151
	Nearest_F64                = 152
	Sqrt_F64                   = 153
	Add_F64                    = 154
	Sub_F64                    = 155
	Mul_F64                    = 156
	Div_F64                    = 157
	Min_F64                    = 158
	Max_F64                    = 159
	Copysign_F64               = 160
	WrapI64_I32                = 161
	TruncF32S_I32              = 162
	TruncF32U_I32              = 163
	TruncF64S_I32              = 164
	TruncF64U_I32              = 165
	ExtendI32S_I64             = 166
	ExtendI32U_I64             = 167
	TruncF32S_I64              = 168
	TruncF32U_I64              = 169
	TruncF64S_I64              = 170
	TruncF64U_I64              = 171
	ConvertI32S_F32            = 172
	ConvertI32U_F32            = 173
	ConvertI64S_F32            = 174
	ConvertI64U_F32            = 175
	DemoteF64_F32              = 176
	ConvertI32S_F64            = 177
	ConvertI32U_F64            = 178
	ConvertI64S_F64            = 179
	ConvertI64U_F64            = 180
	PromoteF32_F64             = 181
	ReinterpretF32_I32         = 182
	ReinterpretF64_I64         = 183
	ReinterpretI32_F32         = 184
	ReinterpretI64_F64         = 185
	Extend8S_I32               = 186
	Extend16S_I32              = 187
	Extend8S_I64               = 188
	Extend16S_I64              = 189
	Extend32S_I64              = 190
	TruncSatF32S_I32           = 191
	TruncSatF32U_I32           = 192
	TruncSatF64S_I32           = 193
	TruncSatF64U_I32           = 194
	TruncSatF32S_I64           = 195
	TruncSatF32U_I64           = 196
	TruncSatF64S_I64           = 197
	TruncSatF64U_I64           = 198
	Load_V128                  = 199
	Load8x8S_V128              = 200
	Load8x8U_V128              = 201
	Load16x4S_V128             = 202
	Load16x4U_V128             = 203
	Load32x2S_V128             = 204
	Load32x2U_V128             = 205
	Load8Splat_V128            = 206
	Load16Splat_V128           = 207
	Load32Splat_V128           = 208
	Load64Splat_V128           = 209
	Load32Zero_V128            = 210
	Load64Zero_V128            = 211
	Store_V128                 = 212
	Load8Lane_V128             = 213
	Load16Lane_V128            = 214
	Load32Lane_V128            = 215
	Load64Lane_V128            = 216
	Store8Lane_V128            = 217
	Store16Lane_V128           = 218
	Store32Lane_V128           = 219
	Store64Lane_V128           = 220
	Const_V128                 = 221
	Shuffle_I8x16              = 222
	ExtractLaneS_I8x16         = 223
	ExtractLaneU_I8x16         = 224
	ReplaceLane_I8x16          = 225
	ExtractLaneS_I16x8         = 226
	ExtractLaneU_I16x8         = 227
	ReplaceLane_I16x8          = 228
	ExtractLane_I32x4          = 229
	ReplaceLane_I32x4          = 230
	ExtractLane_I64x2          = 231
	ReplaceLane_I64x2          = 232
	ExtractLane_F32x4          = 233
	ReplaceLane_F32x4          = 234
	ExtractLane_F64x2          = 235
	ReplaceLane_F64x2          = 236
	Swizzle_I8x16              = 237
	Splat_I8x16                = 238
	Splat_I16x8                = 239
	Splat_I32x4                = 240
	Splat_I64x2                = 241
	Splat_F32x4                = 242
	Splat_F64x2                = 243
	Eq_I8x16                   = 244
	Ne_I8x16                   = 245
	LtS_I8x16                  = 246
	LtU_I8x16                  = 247
	GtS_I8x16                  = 248
	GtU_I8x16                  = 249
	LeS_I8x16                  = 250
	LeU_I8x16                  = 251
	GeS_I8x16                  = 252
	GeU_I8x16                  = 253
	Eq_I16x8                   = 254
	Ne_I16x8                   = 255
	LtS_I16x8                  = 256
	LtU_I16x8                  = 257
	GtS_I16x8                  = 258
	GtU_I16x8                  = 259
	LeS_I16x8                  = 260
	LeU_I16x8                  = 261
	GeS_I16x8                  = 262
	GeU_I16x8                  = 263
	Eq_I32x4                   = 264
	Ne_I32x4                   = 265
	LtS_I32x4                  = 266
	LtU_I32x4                  = 267
	GtS_I32x4                  = 268
	GtU_I32x4                  = 269
	LeS_I32x4                  = 270
	LeU_I32x4                  = 271
	GeS_I32x4                  = 272
	GeU_I32x4                  = 273
	Eq_I64x2                   = 274
	Ne_I64x2                   = 275
	LtS_I64x2                  = 276
	GtS_I64x2                  = 277
	LeS_I64x2                  = 278
	GeS_I64x2                  = 279
	Eq_F32x4                   = 280
	Ne_F32x4                   = 281
	Lt_F32x4                   = 282
	Gt_F32x4                   = 283
	Le_F32x4                   = 284
	Ge_F32x4                   = 285
	Eq_F64x2                   = 286
	Ne_F64x2                   = 287
	Lt_F64x2                   = 288
	Gt_F64x2                   = 289
	Le_F64x2                   = 290
	Ge_F64x2                   = 291
	Not_V128                   = 292
	And_V128                   = 293
	Andnot_V128                = 294
	Or_V128                    = 295
	Xor_V128                   = 296
	Bitselect_V128             = 297
	AnyTrue_V128               = 298
	Abs_I8x16                  = 299
	Neg_I8x16                  = 300
	Popcnt_I8x16               = 301
	AllTrue_I8x16              = 302
	Bitmask_I8x16              = 303
	NarrowI16x8S_I8x16         = 304
	NarrowI16x8U_I8x16         = 305
	Shl_I8x16                  = 306
	ShrS_I8x16                 = 307
	ShrU_I8x16                 = 308
	Add_I8x16                  = 309
	AddSatS_I8x16              = 310
	AddSatU_I8x16              = 311
	Sub_I8x16                  = 312
	SubSatS_I8x16              = 313
	SubSatU_I8x16              = 314
	MinS_I8x16                 = 315
	MinU_I8x16                 = 316
	MaxS_I8x16                 = 317
	MaxU_I8x16                 = 318
	AvgrU_I8x16                = 319
	ExtaddPairwiseI8x16S_I16x8 = 320
	ExtaddPairwiseI8x16U_I16x8 = 321
	Abs_I16x8                  = 322
	Neg_I16x8                  = 323
	Q15mulrSatS_I16x8          = 324
	Alltrue_I16x8              = 325
	Bitmask_I16x8              = 326
	NarrowI32x4S_I16x8         = 327
	NarrowI32x4U_I16x8         = 328
	ExtendLowI8x16S_I16x8      = 329
	ExtendHighI8x16S_I16x8     = 330
	ExtendLowI8x16U_I16x8      = 331
	ExtendHighI8x16U_I16x8     = 332
	Shl_I16x8                  = 333
	ShrS_I16x8                 = 334
	ShrU_I16x8                 = 335
	Add_I16x8                  = 336
	AddSatS_I16x8              = 337
	AddSatU_I16x8              = 338
	Sub_I16x8                  = 339
	SubSatS_I16x8              = 340
	SubSatU_I16x8              = 341
	Mul_I16x8                  = 342
	MinS_I16x8                 = 343
	MinU_I16x8                 = 344
	MaxS_I16x8                 = 345
	MaxU_I16x8                 = 346
	AvgrU_I16x8                = 347
	ExtmulLowI8x16S_I16x8      = 348
	ExtmulHighI8x16S_I16x8     = 349
	ExtmulLowI8x16U_I16x8      = 350
	ExtmulHighI8x16U_I16x8     = 351
	ExtaddPairwiseI16x8S_I32x4 = 352
	ExtaddPairwiseI16x8U_I32x4 = 353
	Abs_I32x4                  = 354
	Neg_I32x4                  = 355
	Alltrue_I32x4              = 356
	Bitmask_I32x4              = 357
	ExtendLowI16x8S_I32x4      = 358
	ExtendHighI16x8S_I32x4     = 359
	ExtendLowI16x8U_I32x4      = 360
	ExtendHighI16x8U_I32x4     = 361
	Shl_I32x4                  = 362
	ShrS_I32x4                 = 363
	ShrU_I32x4                 = 364
	Add_I32x4                  = 365
	Sub_I32x4                  = 366
	Mul_I32x4                  = 367
	MinS_I32x4                 = 368
	MinU_I32x4                 = 369
	MaxS_I32x4                 = 370
	MaxU_I32x4                 = 371
	DotI16x8S_I32x4            = 372
	ExtmulLowI16x8S_I32x4      = 373
	ExtmulHighI16x8S_I32x4     = 374
	ExtmulLowI16x8U_I32x4      = 375
	ExtmulHighI16x8U_I32x4     = 376
	Abs_I64x2                  = 377
	Neg_I64x2                  = 378
	Alltrue_I64x2              = 379
	Bitmask_I64x2              = 380
	ExtendLowI32x4S_I64x2      = 381
	ExtendHighI32x4S_I64x2     = 382
	ExtendLowI32x4U_I64x2      = 383
	ExtendHighI32x4U_I64x2     = 384
	Shl_I64x2                  = 385
	ShrS_I64x2                 = 386
	ShrU_I64x2                 = 387
	Add_I64x2                  = 388
	Sub_I64x2                  = 389
	Mul_I64x2                  = 390
	ExtmulLowI32x4S_I64x2      = 391
	ExtmulHighI32x4S_I64x2     = 392
	ExtmulLowI32x4U_I64x2      = 393
	ExtmulHighI32x4U_I64x2     = 394
	Ceil_F32x4                 = 395
	Floor_F32x4                = 396
	Trunc_F32x4                = 397
	Nearest_F32x4              = 398
	Abs_F32x4                  = 399
	Neg_F32x4                  = 400
	Sqrt_F32x4                 = 401
	Add_F32x4                  = 402
	Sub_F32x4                  = 403
	Mul_F32x4                  = 404
	Div_F32x4                  = 405
	Min_F32x4                  = 406
	Max_F32x4                  = 407
	Pmin_F32x4                 = 408
	Pmax_F32x4                 = 409
	Ceil_F64x2                 = 410
	Floor_F64x2                = 411
	Trunc_F64x2                = 412
	Nearest_F64x2              = 413
	Abs_F64x2                  = 414
	Neg_F64x2                  = 415
	Sqrt_F64x2                 = 416
	Add_F64x2                  = 417
	Sub_F64x2                  = 418
	Mul_F64x2                  = 419
	Div_F64x2                  = 420
	Min_F64x2                  = 421
	Max_F64x2                  = 422
	Pmin_F64x2                 = 423
	Pmax_F64x2                 = 424
	TruncSatF32x4S_I32x4       = 425
	TruncSatF32x4U_I32x4       = 426
	ConvertI32x4S_F32x4        = 427
	ConvertI32x4U_F32x4        = 428
	TruncSatF64x2SZero_I32x4   = 429
	TruncSatF64x2UZero_I32x4   = 430
	ConvertLowI32x4S_F64x2     = 431
	ConvertLowI32x4U_F64x2     = 432
	DemoteF64x2Zero_F32x4      = 433
	PromoteLowF32x4_F64x2      = 434
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access int8
const (
	Load Access = iota + 1
	Store
)

func (Access) String

func (a Access) String() string

type Class

type Class int8
const (
	Control Class = iota + 1
	Memory
	Numeric
	Parametric
	Reference
	Table
	Variable
	Vector
)

func (Class) String

func (c Class) String() string

type Def

type Def struct {
	// contains filtered or unexported fields
}

func ByName

func ByName(n string) Def

func ByName2

func ByName2(n2 string) Def

func ByOp

func ByOp(opPfx, op int8) Def

func Get

func Get(i Instr) Def

func (Def) A

func (d Def) A() wt.Prim

func (Def) B

func (d Def) B() wt.Prim

func (Def) C

func (d Def) C() wt.Prim

func (Def) Class

func (d Def) Class() Class

func (Def) I

func (d Def) I() Instr

func (Def) Ma

func (d Def) Ma() Access

func (Def) Mz

func (d Def) Mz() int

func (Def) Name

func (d Def) Name() string

func (Def) Name2

func (d Def) Name2() string

func (Def) Op

func (d Def) Op() uint8

func (Def) OpPfx

func (d Def) OpPfx() uint8

func (Def) T

func (d Def) T() wt.Prim

type Instr

type Instr int16

Directories

Path Synopsis
dev
gen

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL