-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1895 lines (1288 loc) · 49.2 KB
/
Copy pathindex.html
File metadata and controls
1895 lines (1288 loc) · 49.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<!-- Head tag (contains Google-Analytics、Baidu-Tongji)-->
<head>
<!-- Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxx-xx"></script>
<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-xxxxxx-xx');
</script>
<!-- Baidu Tongji -->
<script type="text/javascript">
// Originial
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!-- Baidu Push -->
<script>
(function () {
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
} else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="google-site-verification" content="lxDfCplOZbIzjhG34NuQBgu2gdyRlAtMB4utP5AgEBc"/>
<meta name="baidu-site-verification" content="PpzM9WxOJU"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content="It's a blog :)"/>
<meta name="keyword" content="livemylife,IT blog,Blog,Ryo"/>
<link rel="shortcut icon" href="/img/avatar/favicon.ico"/>
<!-- Place this tag in your head or just before your close body tag. -->
<script async="async" defer="defer" src="https://buttons.github.io/buttons.js"></script>
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="/css/bootstrap.min.css"/>
<!-- Custom CSS -->
<link rel="stylesheet" href="/css/beantech.min.css"/>
<!-- Pygments Highlight CSS -->
<link rel="stylesheet" href="/css/highlight.css"/>
<link rel="stylesheet" href="/css/widget.css"/>
<link rel="stylesheet" href="/css/rocket.css"/>
<link rel="stylesheet" href="/css/signature.css"/>
<link rel="stylesheet" href="/css/catalog.css"/>
<link rel="stylesheet" href="/css/livemylife.css"/>
<!-- wave start -->
<link rel="stylesheet" href="/css/wave.css"/>
<!-- wave end -->
<!-- top start (article top hot config) -->
<link rel="stylesheet" href="/css/top.css"/>
<!-- top end -->
<!-- ThemeColor start -->
<link rel="stylesheet" href="/css/scroll.css"/>
<!-- ThemeColor end -->
<!-- viewer start (Picture preview) -->
<link rel="stylesheet" href="/css/viewer.min.css"/>
<!-- viewer end -->
<!-- Search start -->
<link rel="stylesheet" href="/css/search.css"/>
<!-- Search end -->
<!-- ThemeColor start -->
<link rel="stylesheet" href="/css/themecolor.css"/>
<!-- ThemeColor end -->
<!-- Custom Fonts -->
<!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> -->
<!-- Hux change font-awesome CDN to qiniu -->
<link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.5.0/css/font-awesome.min.css" type="text/css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Hux Delete, sad but pending in China <link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'> <link
href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/ css'> -->
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]-->
<!-- ga & ba script hoook -->
<link rel="canonical" href="https://squirrelune.github.io/">
<title>
RyoCY的后花园
</title>
<meta name="generator" content="Hexo 5.4.2"><style>mjx-container[jax="SVG"] {
direction: ltr;
}
mjx-container[jax="SVG"] > svg {
overflow: visible;
}
mjx-container[jax="SVG"][display="true"] {
display: block;
text-align: center;
margin: 1em 0;
}
mjx-container[jax="SVG"][justify="left"] {
text-align: left;
}
mjx-container[jax="SVG"][justify="right"] {
text-align: right;
}
g[data-mml-node="merror"] > g {
fill: red;
stroke: red;
}
g[data-mml-node="merror"] > rect[data-background] {
fill: yellow;
stroke: none;
}
g[data-mml-node="mtable"] > line[data-line] {
stroke-width: 70px;
fill: none;
}
g[data-mml-node="mtable"] > rect[data-frame] {
stroke-width: 70px;
fill: none;
}
g[data-mml-node="mtable"] > .mjx-dashed {
stroke-dasharray: 140;
}
g[data-mml-node="mtable"] > .mjx-dotted {
stroke-linecap: round;
stroke-dasharray: 0,140;
}
g[data-mml-node="mtable"] > svg {
overflow: visible;
}
[jax="SVG"] mjx-tool {
display: inline-block;
position: relative;
width: 0;
height: 0;
}
[jax="SVG"] mjx-tool > mjx-tip {
position: absolute;
top: 0;
left: 0;
}
mjx-tool > mjx-tip {
display: inline-block;
padding: .2em;
border: 1px solid #888;
font-size: 70%;
background-color: #F8F8F8;
color: black;
box-shadow: 2px 2px 5px #AAAAAA;
}
g[data-mml-node="maction"][data-toggle] {
cursor: pointer;
}
mjx-status {
display: block;
position: fixed;
left: 1em;
bottom: 1em;
min-width: 25%;
padding: .2em .4em;
border: 1px solid #888;
font-size: 90%;
background-color: #F8F8F8;
color: black;
}
foreignObject[data-mjx-xml] {
font-family: initial;
line-height: normal;
overflow: visible;
}
.MathJax path {
stroke-width: 3;
}
mjx-container[display="true"] {
overflow: auto hidden;
}
mjx-container[display="true"] + br {
display: none;
}
</style><link rel="alternate" href="feed.xml" title="RyoCY的后花园" type="application/atom+xml">
</head>
<!-- hack iOS CSS :active style -->
<body ontouchstart="" class="body--light body--light">
<!-- loading -->
<!-- ThemeColor -->
<!-- ThemeColor -->
<style type="text/css">
.body--light {
--light-mode: none;
--dark-mode: block;
}
.body--dark {
--light-mode: block;
--dark-mode: none;
}
i.mdui-icon.material-icons.light-mode {
display: var(--light-mode);
}
i.mdui-icon.material-icons.dark-mode {
display: var(--dark-mode);
}
</style>
<div class="toggle" onclick="document.body.classList.toggle('body--dark')">
<i class="mdui-icon material-icons light-mode"></i>
<i class="mdui-icon material-icons dark-mode"></i>
</div>
<script>
//getCookieValue
function getCookieValue(a) {
var b = document.cookie.match('(^|[^;]+)\\s*' + a + '\\s*=\\s*([^;]+)');
return b
? b.pop()
: '';
}
let themeMode = 'light';
if (getCookieValue('sb-color-mode') && (getCookieValue('sb-color-mode') !== themeMode)) {
let dbody = document.body.classList;
themeMode === 'dark' ? dbody.remove('body--dark') : dbody.add('body--dark');
}
//setCookieValue
var toggleBtn = document.querySelector(".toggle");
toggleBtn.addEventListener("click", function () {
var e = document.body.classList.contains("body--dark");
var cookieString = e
? "dark"
: "light";
var exp = new Date();
exp.setTime(exp.getTime() + 3 * 24 * 60 * 60 * 1000); //3天过期
document.cookie = "sb-color-mode=" + cookieString + ";expires=" + exp.toGMTString() + ";path=/";
});
</script>
<!-- Gitter -->
<!-- Gitter -->
<!-- Docs:https://gitter.im/?utm_source=left-menu-logo -->
<script>
((window.gitter = {}).chat = {}).options = {
room: 'your-community/your-room'
};
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
<!-- Navigation (contains search)-->
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">RyoCY的后花园</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<!-- Known Issue, found by Hux: <nav>'s height woule be hold on by its content. so, when navbar scale out, the <nav> will cover tags. also mask any touch event of tags, unfortunately. -->
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">首页</a>
</li>
<li>
<a href="/about/">
关于
</a>
</li>
<li>
<a href="/archive/">
归档
</a>
</li>
<li>
<a href="/categories/">
分类
</a>
</li>
<li>
<a href="/tags/">
标签
</a>
</li>
<li>
<a class="popup-trigger">
<span class="search-icon"></span>搜索</a>
</li>
<!-- LangSelect -->
<!-- LangSelect start -->
<!-- LangSelect -->
<li>
<a id="lang-select-label"><i class="fa fa-globe"></i>
<span>
简体中文
</span>
<select id="lang-select" data-canonical="index.html">
<option value="cn" selected >
简体中文
</option>
</select>
</a>
</li>
<!-- LangSelect end -->
</ul>
</div>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- progress -->
<div id="progress">
<div class="line" style="width: 0%;"></div>
</div>
<script>
// Drop Bootstarp low-performance Navbar Use customize navbar with high-quality material design animation in high-perf jank-free CSS3 implementation
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
$toggle.addEventListener('click', handleMagic)
function handleMagic(e) {
if ($navbar.className.indexOf('in') > 0) {
// CLOSE
$navbar.className = " ";
// wait until animation end.
setTimeout(function() {
// prevent frequently toggle
if ($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
}, 400)
} else {
// OPEN
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
</script>
<!-- Post Header (contains intro-header、signature、wordcount、busuanzi、waveoverlay) -->
<!-- Modified by Yu-Hsuan Yen -->
<!-- Post Header -->
<style type="text/css">
.body--light {
/* intro-header */
--intro-header-background-image-url-home: url('/img/header_img/head_bg.jpg');
--intro-header-background-image-url-post: url('');
--intro-header-background-image-url-page: url('/img/header_img/head_bg.jpg');
}
.body--dark {
--intro-header-background-image-url-home: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('/img/header_img/head_bg.jpg');
--intro-header-background-image-url-post: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('');
--intro-header-background-image-url-page: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url('/img/header_img/head_bg.jpg');
}
header.intro-header {
/*config*/
background-image: var(--intro-header-background-image-url-home);
/* background-image: url('/img/header_img/head_bg.jpg'); */
}
#signature {/*signature*/
background-image: url('/img/signature/sign.png');
}
</style>
<header class="intro-header">
<!-- Signature -->
<div id="signature">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading">
<h1>Hello World</h1>
<!-- 更改首页图片上文字 -->
<!-- <h1>RyoCY的后花园</h1> -->
<!--<hr class="small">-->
<span class="subheading">O ever youthful, O ever weeping</span>
</div>
</div>
</div>
</div>
</div>
<!-- waveoverlay start -->
<div class="preview-overlay">
<svg class="preview-waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z"></path>
</defs>
<g class="preview-parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill=var(--gentle-wave1)></use>
<use xlink:href="#gentle-wave" x="48" y="3" fill=var(--gentle-wave2)></use>
<use xlink:href="#gentle-wave" x="48" y="5" fill=var(--gentle-wave3)></use>
<use xlink:href="#gentle-wave" x="48" y="7" fill=var(--gentle-wave)></use>
</g>
</svg>
</div>
<!-- waveoverlay end -->
</header>
<!-- Main Content (Post contains
Pager、
tip、
socialshare、
gitalk、gitment、disqus-comment、
Catalog、
Sidebar、
Featured-Tags、
Friends Blog、
anchorjs、
) -->
<!-- Main Content -->
<div class="container">
<div class="row">
<!-- USE SIDEBAR -->
<!-- Post Container -->
<div class="
col-lg-8 col-lg-offset-1
col-md-8 col-md-offset-1
col-sm-12
col-xs-12
post-container
">
<!-- Main Content -->
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/形式语言与自动机笔记/形式语言与自动机笔记/">
<h2 class="post-title">
形式语言与自动机笔记
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
简介
NJU 2025fall 形式语言与自动机 课程笔记,按个人理解整理,不保证完全正确!
参考资料:课程讲义
DFA,NFA与正则语言
DFA:每个状态对每个输入符号有唯一的下一状态
DFA和NFA语言表达上是等价的:
能够用 NFA 表达的语言,一定存在某个 DFA,能够表达出相同的语言;
能够用 DFA 表达的语言,一定存在某个 NFA,能够表达出相同的语言。
......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by RyoCY on
2026-01-18
</p>
<div class="tags">
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/ARK-Runtime源码阅读/源码阅读 ARK-Runtime/">
<h2 class="post-title">
源码阅读 ARK-Runtime
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
源码阅读 ARK-Runtime
NJU 2025Fall源码阅读笔记
对应项目:OpenHarmony/ark_runtime_core
panda:CLI工具,用于执行方舟字节码文件(*.abc)文件
程序入口
文件路径:panda/panda.cpp 从这里开始执行。
1234int main(int argc, const char **argv){ return p......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by RyoCY on
2025-12-28
</p>
<div class="tags">
<a href="/tags/#ARK-Runtime" title="ARK-Runtime">ARK-Runtime</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/Redis笔记/Redis笔记01/">
<h2 class="post-title">
Redis笔记01
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
基础篇
NoSQL
分类
键值类型(Redis)
文档类型(MongoDB)
列类型(HBase)
Graph类型(Neo4j)
与SQL区别
----------
SQL
NoSQL
数据结构
结构化
非结构化
数据关联
关联的
无关联
查询方式
SQL查询
非SQL
事务特性
ACID
BASE
存储方式
磁盘
内存
拓展性
垂直
水......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by RyoCY on
2025-08-01
</p>
<div class="tags">
<a href="/tags/#Redis" title="Redis">Redis</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/折腾日志/Win11使用WSL2安装Ubuntu时出现error解决记录/">
<h2 class="post-title">
Win11使用WSL2安装Ubuntu时出现error解决记录
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
记录出错以及解决的流程。
先以管理员身份运行 PowerShell,执行命令wsl --install -d Ubuntu-22.04。
命令行提示如下信息:12345678请求的操作需要提升。部署映像服务和管理工具版本: 10.0.22621.2792映像版本: 10.0.22631.5335启用一个或多个功能[==========================100.0%=======......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by RyoCY on
2025-06-24
</p>
<div class="tags">
<a href="/tags/#Ubuntu" title="Ubuntu">Ubuntu</a>
<a href="/tags/#WSL2" title="WSL2">WSL2</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/2025Spring-编译原理/编译原理07/">
<h2 class="post-title">
编译原理07
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
ch9.2-12
期末周完全按照重点整理的笔记,比较草率
符号执行
符号执行是一种经典的路径敏感分析技术,它通过枚举并分析程序的每一条路径来实现程序分析。
符号执行作为一种重要的形式化方法和软件分析技术,采用抽象符号代替程序变量,程序计算的输出被表示为输入符号值的函数,根据程序的语义,遍历程序的执行空间。其在软件测试和程序验证中发挥着重要作用,并可以应用于程序漏洞和脆弱性的检测中。
𝝈......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by RyoCY on
2025-06-19
</p>
<div class="tags">
<a href="/tags/#编译原理" title="编译原理">编译原理</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/2025Spring-编译原理/编译原理06/">
<h2 class="post-title">
编译原理06
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
根据中间表示(IR)生成代码
代码生成器之前可能有一个优化组件
代码生成器的三个任务
指令选择: 选择适当的指令实现IR语句
寄存器分配和指派: 把哪个值放在哪个寄存器中
指令排序: 按照什么顺序安排指令执行
ch8-8.2
目标机模型
常见指令:
指令
解释
LD dst, addr
把位置 addr 上的值加载到位置 dst
LD r1, r2
寄存器到寄存......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by RyoCY on
2025-06-02
</p>
<div class="tags">
<a href="/tags/#编译原理" title="编译原理">编译原理</a>
</div>
</div>
<hr>
<div class="post-preview">
<!-- top start (article top hot config) -->
<!-- top end -->
<a href="/cn/2025Spring-编译原理/编译原理05/">
<h2 class="post-title">
编译原理05
</h2>
<h3 class="post-subtitle">
</h3>
<div class="post-content-preview">
ch6.2
静态单赋值
静态单赋值(SSA)是一种中间代码表示形式,在该形式下,每个变量在程序的每个控制流路径上都仅被赋值一次。SSA 形式通过在适当的地方插入 φ 函数 来处理控制流合流点,使得代码既具有数据流分析的简洁性,又能够有效优化。
如果某个变量需要被重新赋值,会创建一个新的变量名称,例如 x1, x2, x3。
由于控制流可能发生分支和合流,因此在合流点需要一个 φ 函数来选择正......
</div>
</a>
<p class="post-meta" style="margin: 10px 0;">
Posted by RyoCY on
2025-04-21
</p>
<div class="tags">