...

Source file src/github.com/bytedance/sonic/internal/native/sse/native_subr_amd64.go

Documentation: github.com/bytedance/sonic/internal/native/sse

     1  // +build !noasm !appengine
     2  // Code generated by asm2asm, DO NOT EDIT.
     3  
     4  package sse
     5  
     6  import (
     7  	`github.com/bytedance/sonic/loader`
     8  )
     9  
    10  const (
    11      _entry__f32toa = 31344
    12      _entry__f64toa = 128
    13      _entry__format_significand = 36272
    14      _entry__format_integer = 3280
    15      _entry__fsm_exec = 18832
    16      _entry__advance_string = 15024
    17      _entry__advance_string_default = 37808
    18      _entry__do_skip_number = 21376
    19      _entry__get_by_path = 26768
    20      _entry__skip_one_fast = 22896
    21      _entry__unescape = 38752
    22      _entry__unhex16_is = 9584
    23      _entry__html_escape = 9776
    24      _entry__i64toa = 3712
    25      _entry__u64toa = 3984
    26      _entry__lspace = 16
    27      _entry__quote = 5472
    28      _entry__skip_array = 18800
    29      _entry__skip_number = 22496
    30      _entry__skip_object = 21024
    31      _entry__skip_one = 22672
    32      _entry__unquote = 7248
    33      _entry__validate_one = 22720
    34      _entry__validate_utf8 = 30096
    35      _entry__validate_utf8_fast = 30784
    36      _entry__value = 13072
    37      _entry__vnumber = 16400
    38      _entry__atof_eisel_lemire64 = 11072
    39      _entry__atof_native = 12464
    40      _entry__decimal_to_f64 = 11472
    41      _entry__left_shift = 36752
    42      _entry__right_shift = 37296
    43      _entry__vsigned = 18048
    44      _entry__vstring = 14848
    45      _entry__vunsigned = 18416
    46  )
    47  
    48  const (
    49      _stack__f32toa = 64
    50      _stack__f64toa = 80
    51      _stack__format_significand = 24
    52      _stack__format_integer = 16
    53      _stack__fsm_exec = 160
    54      _stack__advance_string = 72
    55      _stack__advance_string_default = 56
    56      _stack__do_skip_number = 32
    57      _stack__get_by_path = 264
    58      _stack__skip_one_fast = 136
    59      _stack__unescape = 64
    60      _stack__unhex16_is = 8
    61      _stack__html_escape = 64
    62      _stack__i64toa = 16
    63      _stack__u64toa = 8
    64      _stack__lspace = 8
    65      _stack__quote = 80
    66      _stack__skip_array = 168
    67      _stack__skip_number = 88
    68      _stack__skip_object = 168
    69      _stack__skip_one = 168
    70      _stack__unquote = 112
    71      _stack__validate_one = 168
    72      _stack__validate_utf8 = 48
    73      _stack__validate_utf8_fast = 24
    74      _stack__value = 352
    75      _stack__vnumber = 264
    76      _stack__atof_eisel_lemire64 = 40
    77      _stack__atof_native = 144
    78      _stack__decimal_to_f64 = 88
    79      _stack__left_shift = 32
    80      _stack__right_shift = 16
    81      _stack__vsigned = 16
    82      _stack__vstring = 128
    83      _stack__vunsigned = 24
    84  )
    85  
    86  const (
    87      _size__f32toa = 3696
    88      _size__f64toa = 3152
    89      _size__format_significand = 480
    90      _size__format_integer = 432
    91      _size__fsm_exec = 1656
    92      _size__advance_string = 1328
    93      _size__advance_string_default = 944
    94      _size__do_skip_number = 908
    95      _size__get_by_path = 3328
    96      _size__skip_one_fast = 3348
    97      _size__unescape = 704
    98      _size__unhex16_is = 128
    99      _size__html_escape = 1296
   100      _size__i64toa = 272
   101      _size__u64toa = 1440
   102      _size__lspace = 96
   103      _size__quote = 1760
   104      _size__skip_array = 32
   105      _size__skip_number = 160
   106      _size__skip_object = 32
   107      _size__skip_one = 32
   108      _size__unquote = 2336
   109      _size__validate_one = 48
   110      _size__validate_utf8 = 688
   111      _size__validate_utf8_fast = 544
   112      _size__value = 1268
   113      _size__vnumber = 1648
   114      _size__atof_eisel_lemire64 = 400
   115      _size__atof_native = 608
   116      _size__decimal_to_f64 = 992
   117      _size__left_shift = 544
   118      _size__right_shift = 480
   119      _size__vsigned = 368
   120      _size__vstring = 128
   121      _size__vunsigned = 368
   122  )
   123  
   124  var (
   125      _pcsp__f32toa = [][2]uint32{
   126          {1, 0},
   127          {4, 8},
   128          {6, 16},
   129          {8, 24},
   130          {10, 32},
   131          {12, 40},
   132          {13, 48},
   133          {3638, 64},
   134          {3642, 48},
   135          {3643, 40},
   136          {3645, 32},
   137          {3647, 24},
   138          {3649, 16},
   139          {3651, 8},
   140          {3652, 0},
   141          {3682, 64},
   142      }
   143      _pcsp__f64toa = [][2]uint32{
   144          {1, 0},
   145          {4, 8},
   146          {6, 16},
   147          {8, 24},
   148          {10, 32},
   149          {12, 40},
   150          {13, 48},
   151          {3033, 56},
   152          {3037, 48},
   153          {3038, 40},
   154          {3040, 32},
   155          {3042, 24},
   156          {3044, 16},
   157          {3046, 8},
   158          {3047, 0},
   159          {3138, 56},
   160      }
   161      _pcsp__format_significand = [][2]uint32{
   162          {1, 0},
   163          {4, 8},
   164          {6, 16},
   165          {468, 24},
   166          {469, 16},
   167          {471, 8},
   168          {473, 0},
   169      }
   170      _pcsp__format_integer = [][2]uint32{
   171          {1, 0},
   172          {4, 8},
   173          {412, 16},
   174          {413, 8},
   175          {414, 0},
   176          {423, 16},
   177          {424, 8},
   178          {426, 0},
   179      }
   180      _pcsp__fsm_exec = [][2]uint32{
   181          {1, 0},
   182          {4, 8},
   183          {6, 16},
   184          {8, 24},
   185          {10, 32},
   186          {12, 40},
   187          {13, 48},
   188          {1317, 88},
   189          {1321, 48},
   190          {1322, 40},
   191          {1324, 32},
   192          {1326, 24},
   193          {1328, 16},
   194          {1330, 8},
   195          {1331, 0},
   196          {1656, 88},
   197      }
   198      _pcsp__advance_string = [][2]uint32{
   199          {14, 0},
   200          {18, 8},
   201          {20, 16},
   202          {22, 24},
   203          {24, 32},
   204          {26, 40},
   205          {27, 48},
   206          {587, 72},
   207          {591, 48},
   208          {592, 40},
   209          {594, 32},
   210          {596, 24},
   211          {598, 16},
   212          {600, 8},
   213          {601, 0},
   214          {1325, 72},
   215      }
   216      _pcsp__advance_string_default = [][2]uint32{
   217          {1, 0},
   218          {4, 8},
   219          {6, 16},
   220          {8, 24},
   221          {10, 32},
   222          {12, 40},
   223          {13, 48},
   224          {402, 56},
   225          {406, 48},
   226          {407, 40},
   227          {409, 32},
   228          {411, 24},
   229          {413, 16},
   230          {415, 8},
   231          {416, 0},
   232          {936, 56},
   233      }
   234      _pcsp__do_skip_number = [][2]uint32{
   235          {1, 0},
   236          {4, 8},
   237          {6, 16},
   238          {8, 24},
   239          {771, 32},
   240          {772, 24},
   241          {774, 16},
   242          {776, 8},
   243          {777, 0},
   244          {908, 32},
   245      }
   246      _pcsp__get_by_path = [][2]uint32{
   247          {1, 0},
   248          {4, 8},
   249          {6, 16},
   250          {8, 24},
   251          {10, 32},
   252          {12, 40},
   253          {13, 48},
   254          {3278, 104},
   255          {3282, 48},
   256          {3283, 40},
   257          {3285, 32},
   258          {3287, 24},
   259          {3289, 16},
   260          {3291, 8},
   261          {3292, 0},
   262          {3317, 104},
   263      }
   264      _pcsp__skip_one_fast = [][2]uint32{
   265          {1, 0},
   266          {4, 8},
   267          {6, 16},
   268          {8, 24},
   269          {10, 32},
   270          {12, 40},
   271          {13, 48},
   272          {600, 136},
   273          {604, 48},
   274          {605, 40},
   275          {607, 32},
   276          {609, 24},
   277          {611, 16},
   278          {613, 8},
   279          {614, 0},
   280          {3348, 136},
   281      }
   282      _pcsp__unescape = [][2]uint32{
   283          {1, 0},
   284          {4, 8},
   285          {6, 16},
   286          {8, 24},
   287          {10, 32},
   288          {12, 40},
   289          {13, 48},
   290          {246, 56},
   291          {250, 48},
   292          {251, 40},
   293          {253, 32},
   294          {255, 24},
   295          {257, 16},
   296          {259, 8},
   297          {260, 0},
   298          {695, 56},
   299      }
   300      _pcsp__unhex16_is = [][2]uint32{
   301          {1, 0},
   302          {35, 8},
   303          {36, 0},
   304          {62, 8},
   305          {63, 0},
   306          {97, 8},
   307          {98, 0},
   308          {121, 8},
   309          {123, 0},
   310      }
   311      _pcsp__html_escape = [][2]uint32{
   312          {1, 0},
   313          {4, 8},
   314          {6, 16},
   315          {8, 24},
   316          {10, 32},
   317          {12, 40},
   318          {13, 48},
   319          {1281, 64},
   320          {1285, 48},
   321          {1286, 40},
   322          {1288, 32},
   323          {1290, 24},
   324          {1292, 16},
   325          {1294, 8},
   326          {1296, 0},
   327      }
   328      _pcsp__i64toa = [][2]uint32{
   329          {1, 0},
   330          {171, 8},
   331          {172, 0},
   332          {207, 8},
   333          {208, 0},
   334          {222, 8},
   335          {223, 0},
   336          {247, 8},
   337          {248, 0},
   338          {253, 8},
   339          {259, 0},
   340      }
   341      _pcsp__u64toa = [][2]uint32{
   342          {13, 0},
   343          {162, 8},
   344          {163, 0},
   345          {175, 8},
   346          {240, 0},
   347          {498, 8},
   348          {499, 0},
   349          {519, 8},
   350          {608, 0},
   351          {882, 8},
   352          {976, 0},
   353          {1434, 8},
   354          {1436, 0},
   355      }
   356      _pcsp__lspace = [][2]uint32{
   357          {1, 0},
   358          {85, 8},
   359          {87, 0},
   360      }
   361      _pcsp__quote = [][2]uint32{
   362          {1, 0},
   363          {4, 8},
   364          {6, 16},
   365          {8, 24},
   366          {10, 32},
   367          {12, 40},
   368          {13, 48},
   369          {1701, 80},
   370          {1705, 48},
   371          {1706, 40},
   372          {1708, 32},
   373          {1710, 24},
   374          {1712, 16},
   375          {1714, 8},
   376          {1715, 0},
   377          {1750, 80},
   378      }
   379      _pcsp__skip_array = [][2]uint32{
   380          {1, 0},
   381          {26, 8},
   382          {32, 0},
   383      }
   384      _pcsp__skip_number = [][2]uint32{
   385          {1, 0},
   386          {4, 8},
   387          {6, 16},
   388          {8, 24},
   389          {10, 32},
   390          {12, 40},
   391          {13, 48},
   392          {107, 56},
   393          {111, 48},
   394          {112, 40},
   395          {114, 32},
   396          {116, 24},
   397          {118, 16},
   398          {120, 8},
   399          {121, 0},
   400          {145, 56},
   401      }
   402      _pcsp__skip_object = [][2]uint32{
   403          {1, 0},
   404          {26, 8},
   405          {32, 0},
   406      }
   407      _pcsp__skip_one = [][2]uint32{
   408          {1, 0},
   409          {26, 8},
   410          {32, 0},
   411      }
   412      _pcsp__unquote = [][2]uint32{
   413          {1, 0},
   414          {4, 8},
   415          {6, 16},
   416          {8, 24},
   417          {10, 32},
   418          {12, 40},
   419          {13, 48},
   420          {1614, 104},
   421          {1618, 48},
   422          {1619, 40},
   423          {1621, 32},
   424          {1623, 24},
   425          {1625, 16},
   426          {1627, 8},
   427          {1628, 0},
   428          {2329, 104},
   429      }
   430      _pcsp__validate_one = [][2]uint32{
   431          {1, 0},
   432          {31, 8},
   433          {37, 0},
   434      }
   435      _pcsp__validate_utf8 = [][2]uint32{
   436          {1, 0},
   437          {4, 8},
   438          {6, 16},
   439          {8, 24},
   440          {10, 32},
   441          {11, 40},
   442          {639, 48},
   443          {643, 40},
   444          {644, 32},
   445          {646, 24},
   446          {648, 16},
   447          {650, 8},
   448          {651, 0},
   449          {682, 48},
   450      }
   451      _pcsp__validate_utf8_fast = [][2]uint32{
   452          {1, 0},
   453          {4, 8},
   454          {5, 16},
   455          {247, 24},
   456          {251, 16},
   457          {252, 8},
   458          {253, 0},
   459          {527, 24},
   460          {531, 16},
   461          {532, 8},
   462          {534, 0},
   463      }
   464      _pcsp__value = [][2]uint32{
   465          {1, 0},
   466          {4, 8},
   467          {6, 16},
   468          {8, 24},
   469          {10, 32},
   470          {12, 40},
   471          {13, 48},
   472          {439, 88},
   473          {443, 48},
   474          {444, 40},
   475          {446, 32},
   476          {448, 24},
   477          {450, 16},
   478          {452, 8},
   479          {453, 0},
   480          {1268, 88},
   481      }
   482      _pcsp__vnumber = [][2]uint32{
   483          {1, 0},
   484          {4, 8},
   485          {6, 16},
   486          {8, 24},
   487          {10, 32},
   488          {12, 40},
   489          {13, 48},
   490          {150, 120},
   491          {154, 48},
   492          {155, 40},
   493          {157, 32},
   494          {159, 24},
   495          {161, 16},
   496          {163, 8},
   497          {164, 0},
   498          {1642, 120},
   499      }
   500      _pcsp__atof_eisel_lemire64 = [][2]uint32{
   501          {1, 0},
   502          {4, 8},
   503          {6, 16},
   504          {8, 24},
   505          {10, 32},
   506          {315, 40},
   507          {316, 32},
   508          {318, 24},
   509          {320, 16},
   510          {322, 8},
   511          {323, 0},
   512          {387, 40},
   513      }
   514      _pcsp__atof_native = [][2]uint32{
   515          {1, 0},
   516          {4, 8},
   517          {596, 56},
   518          {600, 8},
   519          {602, 0},
   520      }
   521      _pcsp__decimal_to_f64 = [][2]uint32{
   522          {1, 0},
   523          {4, 8},
   524          {6, 16},
   525          {8, 24},
   526          {10, 32},
   527          {12, 40},
   528          {13, 48},
   529          {951, 56},
   530          {955, 48},
   531          {956, 40},
   532          {958, 32},
   533          {960, 24},
   534          {962, 16},
   535          {964, 8},
   536          {965, 0},
   537          {977, 56},
   538      }
   539      _pcsp__left_shift = [][2]uint32{
   540          {1, 0},
   541          {4, 8},
   542          {6, 16},
   543          {8, 24},
   544          {418, 32},
   545          {419, 24},
   546          {421, 16},
   547          {423, 8},
   548          {424, 0},
   549          {539, 32},
   550      }
   551      _pcsp__right_shift = [][2]uint32{
   552          {1, 0},
   553          {4, 8},
   554          {452, 16},
   555          {453, 8},
   556          {454, 0},
   557          {462, 16},
   558          {463, 8},
   559          {464, 0},
   560          {472, 16},
   561          {473, 8},
   562          {475, 0},
   563      }
   564      _pcsp__vsigned = [][2]uint32{
   565          {1, 0},
   566          {4, 8},
   567          {111, 16},
   568          {112, 8},
   569          {113, 0},
   570          {124, 16},
   571          {125, 8},
   572          {126, 0},
   573          {278, 16},
   574          {279, 8},
   575          {280, 0},
   576          {284, 16},
   577          {285, 8},
   578          {286, 0},
   579          {340, 16},
   580          {341, 8},
   581          {342, 0},
   582          {353, 16},
   583          {354, 8},
   584          {356, 0},
   585      }
   586      _pcsp__vstring = [][2]uint32{
   587          {1, 0},
   588          {4, 8},
   589          {6, 16},
   590          {8, 24},
   591          {10, 32},
   592          {11, 40},
   593          {105, 56},
   594          {109, 40},
   595          {110, 32},
   596          {112, 24},
   597          {114, 16},
   598          {116, 8},
   599          {118, 0},
   600      }
   601      _pcsp__vunsigned = [][2]uint32{
   602          {1, 0},
   603          {4, 8},
   604          {6, 16},
   605          {72, 24},
   606          {73, 16},
   607          {75, 8},
   608          {76, 0},
   609          {87, 24},
   610          {88, 16},
   611          {90, 8},
   612          {91, 0},
   613          {114, 24},
   614          {115, 16},
   615          {117, 8},
   616          {118, 0},
   617          {281, 24},
   618          {282, 16},
   619          {284, 8},
   620          {285, 0},
   621          {336, 24},
   622          {337, 16},
   623          {339, 8},
   624          {340, 0},
   625          {348, 24},
   626          {349, 16},
   627          {351, 8},
   628          {353, 0},
   629      }
   630  )
   631  
   632  var Funcs = []loader.CFunc{
   633      {"__native_entry__", 0, 67, 0, nil},
   634      {"_f32toa", _entry__f32toa, _size__f32toa, _stack__f32toa, _pcsp__f32toa},
   635      {"_f64toa", _entry__f64toa, _size__f64toa, _stack__f64toa, _pcsp__f64toa},
   636      {"_format_significand", _entry__format_significand, _size__format_significand, _stack__format_significand, _pcsp__format_significand},
   637      {"_format_integer", _entry__format_integer, _size__format_integer, _stack__format_integer, _pcsp__format_integer},
   638      {"_fsm_exec", _entry__fsm_exec, _size__fsm_exec, _stack__fsm_exec, _pcsp__fsm_exec},
   639      {"_advance_string", _entry__advance_string, _size__advance_string, _stack__advance_string, _pcsp__advance_string},
   640      {"_advance_string_default", _entry__advance_string_default, _size__advance_string_default, _stack__advance_string_default, _pcsp__advance_string_default},
   641      {"_do_skip_number", _entry__do_skip_number, _size__do_skip_number, _stack__do_skip_number, _pcsp__do_skip_number},
   642      {"_get_by_path", _entry__get_by_path, _size__get_by_path, _stack__get_by_path, _pcsp__get_by_path},
   643      {"_skip_one_fast", _entry__skip_one_fast, _size__skip_one_fast, _stack__skip_one_fast, _pcsp__skip_one_fast},
   644      {"_unescape", _entry__unescape, _size__unescape, _stack__unescape, _pcsp__unescape},
   645      {"_unhex16_is", _entry__unhex16_is, _size__unhex16_is, _stack__unhex16_is, _pcsp__unhex16_is},
   646      {"_html_escape", _entry__html_escape, _size__html_escape, _stack__html_escape, _pcsp__html_escape},
   647      {"_i64toa", _entry__i64toa, _size__i64toa, _stack__i64toa, _pcsp__i64toa},
   648      {"_u64toa", _entry__u64toa, _size__u64toa, _stack__u64toa, _pcsp__u64toa},
   649      {"_lspace", _entry__lspace, _size__lspace, _stack__lspace, _pcsp__lspace},
   650      {"_quote", _entry__quote, _size__quote, _stack__quote, _pcsp__quote},
   651      {"_skip_array", _entry__skip_array, _size__skip_array, _stack__skip_array, _pcsp__skip_array},
   652      {"_skip_number", _entry__skip_number, _size__skip_number, _stack__skip_number, _pcsp__skip_number},
   653      {"_skip_object", _entry__skip_object, _size__skip_object, _stack__skip_object, _pcsp__skip_object},
   654      {"_skip_one", _entry__skip_one, _size__skip_one, _stack__skip_one, _pcsp__skip_one},
   655      {"_unquote", _entry__unquote, _size__unquote, _stack__unquote, _pcsp__unquote},
   656      {"_validate_one", _entry__validate_one, _size__validate_one, _stack__validate_one, _pcsp__validate_one},
   657      {"_validate_utf8", _entry__validate_utf8, _size__validate_utf8, _stack__validate_utf8, _pcsp__validate_utf8},
   658      {"_validate_utf8_fast", _entry__validate_utf8_fast, _size__validate_utf8_fast, _stack__validate_utf8_fast, _pcsp__validate_utf8_fast},
   659      {"_value", _entry__value, _size__value, _stack__value, _pcsp__value},
   660      {"_vnumber", _entry__vnumber, _size__vnumber, _stack__vnumber, _pcsp__vnumber},
   661      {"_atof_eisel_lemire64", _entry__atof_eisel_lemire64, _size__atof_eisel_lemire64, _stack__atof_eisel_lemire64, _pcsp__atof_eisel_lemire64},
   662      {"_atof_native", _entry__atof_native, _size__atof_native, _stack__atof_native, _pcsp__atof_native},
   663      {"_decimal_to_f64", _entry__decimal_to_f64, _size__decimal_to_f64, _stack__decimal_to_f64, _pcsp__decimal_to_f64},
   664      {"_left_shift", _entry__left_shift, _size__left_shift, _stack__left_shift, _pcsp__left_shift},
   665      {"_right_shift", _entry__right_shift, _size__right_shift, _stack__right_shift, _pcsp__right_shift},
   666      {"_vsigned", _entry__vsigned, _size__vsigned, _stack__vsigned, _pcsp__vsigned},
   667      {"_vstring", _entry__vstring, _size__vstring, _stack__vstring, _pcsp__vstring},
   668      {"_vunsigned", _entry__vunsigned, _size__vunsigned, _stack__vunsigned, _pcsp__vunsigned},
   669  }
   670  

View as plain text