validate_utf8_subr.go raw

   1  // +build !noasm !appengine
   2  // Code generated by asm2asm, DO NOT EDIT.
   3  
   4  package avx2
   5  
   6  import (
   7  	`github.com/bytedance/sonic/loader`
   8  )
   9  
  10  const (
  11      _entry__validate_utf8 = 0
  12  )
  13  
  14  const (
  15      _stack__validate_utf8 = 48
  16  )
  17  
  18  const (
  19      _size__validate_utf8 = 684
  20  )
  21  
  22  var (
  23      _pcsp__validate_utf8 = [][2]uint32{
  24          {0x1, 0},
  25          {0x6, 8},
  26          {0x8, 16},
  27          {0xa, 24},
  28          {0xb, 32},
  29          {0xc, 40},
  30          {0x283, 48},
  31          {0x284, 40},
  32          {0x286, 32},
  33          {0x288, 24},
  34          {0x28a, 16},
  35          {0x28b, 8},
  36          {0x28c, 0},
  37          {0x2ac, 48},
  38      }
  39  )
  40  
  41  var _cfunc_validate_utf8 = []loader.CFunc{
  42      {"_validate_utf8_entry", 0,  _entry__validate_utf8, 0, nil},
  43      {"_validate_utf8", _entry__validate_utf8, _size__validate_utf8, _stack__validate_utf8, _pcsp__validate_utf8},
  44  }
  45