OpenCores
URL https://opencores.org/ocsvn/diogenes/diogenes/trunk

Subversion Repositories diogenes

[/] [diogenes/] [tags/] [initial/] [diogenes/] [asm/] [yacc.output] - Blame information for rev 236

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 fellnhofer
Terminals which are not used
2
 
3
   NUM
4
 
5
 
6
Grammar
7
 
8
 
9
 
10
    1 asms: asm
11
    2     | asms asm
12
 
13
    3 asm: LABEL
14
    4    | nop
15
    5    | ari
16
    6    | ldsi
17
    7    | cmp
18
    8    | br
19
    9    | sha
20
   10    | jmpcall
21
   11    | mov
22
   12    | mem
23
   13    | sel
24
   14    | seli
25
   15    | ldl
26
 
27
   16 nop: NOP
28
 
29
   17 ari: ARI REG C REG C REG
30
 
31
   18 ldsi: LDI REG C imm8b
32
   19     | LSI REG C imm8b
33
 
34
   20 cmp: CMP REG C REG C REG
35
 
36
   21 br: BR REG C USELAB
37
   22   | BR REG C imm8bs
38
 
39
   23 sha: SHA REG C imm6b
40
   24    | SHA REG C REG C imm6b
41
 
42
   25 jmpcall: JUMP OSBRA REG CSBRA
43
   26        | CALL REG C OSBRA REG CSBRA
44
 
45
   27 mov: MOV REG C REG
46
 
47
   28 mem: MEM REG C OBRA REG CBRA
48
 
49
   29 sel: SEL REG C OBRA REG CBRA
50
   30    | SEL REG C REG C OBRA REG CBRA
51
 
52
   31 seli: SELI REG C imm2b
53
   32     | SELI REG C REG C imm2b
54
 
55
   33 ldl: LDL REG C imm32
56
   34    | LDL REG C USELAB
57
 
58
   35 imm2b: IMM
59
 
60
   36 imm8b: IMM
61
 
62
   37 imm8bs: IMM
63
 
64
   38 imm6b: IMM
65
 
66
   39 imm32: IMM
67
 
68
 
69
Terminals, with rules where they appear
70
 
71
$end (0) 0
72
error (256)
73
C (258) 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 34
74
OBRA (259) 28 29 30
75
CBRA (260) 28 29 30
76
OSBRA (261) 25 26
77
CSBRA (262) 25 26
78
NUM (263)
79
IMM (264) 35 36 37 38 39
80
LABEL (265) 3
81
USELAB (266) 21 34
82
REG (267) 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
83
ARI (268) 17
84
LDI (269) 18
85
LSI (270) 19
86
CMP (271) 20
87
BR (272) 21 22
88
SHA (273) 23 24
89
JUMP (274) 25
90
CALL (275) 26
91
MOV (276) 27
92
MEM (277) 28
93
SEL (278) 29 30
94
SELI (279) 31 32
95
LDL (280) 33 34
96
NOP (281) 16
97
 
98
 
99
Nonterminals, with rules where they appear
100
 
101
$accept (27)
102
    on left: 0
103
asms (28)
104
    on left: 1 2, on right: 0 2
105
asm (29)
106
    on left: 3 4 5 6 7 8 9 10 11 12 13 14 15, on right: 1 2
107
nop (30)
108
    on left: 16, on right: 4
109
ari (31)
110
    on left: 17, on right: 5
111
ldsi (32)
112
    on left: 18 19, on right: 6
113
cmp (33)
114
    on left: 20, on right: 7
115
br (34)
116
    on left: 21 22, on right: 8
117
sha (35)
118
    on left: 23 24, on right: 9
119
jmpcall (36)
120
    on left: 25 26, on right: 10
121
mov (37)
122
    on left: 27, on right: 11
123
mem (38)
124
    on left: 28, on right: 12
125
sel (39)
126
    on left: 29 30, on right: 13
127
seli (40)
128
    on left: 31 32, on right: 14
129
ldl (41)
130
    on left: 33 34, on right: 15
131
imm2b (42)
132
    on left: 35, on right: 31 32
133
imm8b (43)
134
    on left: 36, on right: 18 19
135
imm8bs (44)
136
    on left: 37, on right: 22
137
imm6b (45)
138
    on left: 38, on right: 23 24
139
imm32 (46)
140
    on left: 39, on right: 33
141
 
142
 
143
state 0
144
 
145
 
146
 
147
    LABEL  shift, and go to state 1
148
    ARI    shift, and go to state 2
149
    LDI    shift, and go to state 3
150
    LSI    shift, and go to state 4
151
    CMP    shift, and go to state 5
152
    BR     shift, and go to state 6
153
    SHA    shift, and go to state 7
154
    JUMP   shift, and go to state 8
155
    CALL   shift, and go to state 9
156
    MOV    shift, and go to state 10
157
    MEM    shift, and go to state 11
158
    SEL    shift, and go to state 12
159
    SELI   shift, and go to state 13
160
    LDL    shift, and go to state 14
161
    NOP    shift, and go to state 15
162
 
163
    asms     go to state 16
164
    asm      go to state 17
165
    nop      go to state 18
166
    ari      go to state 19
167
    ldsi     go to state 20
168
    cmp      go to state 21
169
    br       go to state 22
170
    sha      go to state 23
171
    jmpcall  go to state 24
172
    mov      go to state 25
173
    mem      go to state 26
174
    sel      go to state 27
175
    seli     go to state 28
176
    ldl      go to state 29
177
 
178
 
179
state 1
180
 
181
    3 asm: LABEL .
182
 
183
    $default  reduce using rule 3 (asm)
184
 
185
 
186
state 2
187
 
188
   17 ari: ARI . REG C REG C REG
189
 
190
    REG  shift, and go to state 30
191
 
192
 
193
state 3
194
 
195
   18 ldsi: LDI . REG C imm8b
196
 
197
    REG  shift, and go to state 31
198
 
199
 
200
state 4
201
 
202
   19 ldsi: LSI . REG C imm8b
203
 
204
    REG  shift, and go to state 32
205
 
206
 
207
state 5
208
 
209
   20 cmp: CMP . REG C REG C REG
210
 
211
    REG  shift, and go to state 33
212
 
213
 
214
state 6
215
 
216
   21 br: BR . REG C USELAB
217
   22   | BR . REG C imm8bs
218
 
219
    REG  shift, and go to state 34
220
 
221
 
222
state 7
223
 
224
   23 sha: SHA . REG C imm6b
225
   24    | SHA . REG C REG C imm6b
226
 
227
    REG  shift, and go to state 35
228
 
229
 
230
state 8
231
 
232
   25 jmpcall: JUMP . OSBRA REG CSBRA
233
 
234
    OSBRA  shift, and go to state 36
235
 
236
 
237
state 9
238
 
239
   26 jmpcall: CALL . REG C OSBRA REG CSBRA
240
 
241
    REG  shift, and go to state 37
242
 
243
 
244
state 10
245
 
246
   27 mov: MOV . REG C REG
247
 
248
    REG  shift, and go to state 38
249
 
250
 
251
state 11
252
 
253
   28 mem: MEM . REG C OBRA REG CBRA
254
 
255
    REG  shift, and go to state 39
256
 
257
 
258
state 12
259
 
260
   29 sel: SEL . REG C OBRA REG CBRA
261
   30    | SEL . REG C REG C OBRA REG CBRA
262
 
263
    REG  shift, and go to state 40
264
 
265
 
266
state 13
267
 
268
   31 seli: SELI . REG C imm2b
269
   32     | SELI . REG C REG C imm2b
270
 
271
    REG  shift, and go to state 41
272
 
273
 
274
state 14
275
 
276
   33 ldl: LDL . REG C imm32
277
   34    | LDL . REG C USELAB
278
 
279
    REG  shift, and go to state 42
280
 
281
 
282
state 15
283
 
284
   16 nop: NOP .
285
 
286
    $default  reduce using rule 16 (nop)
287
 
288
 
289
state 16
290
 
291
 
292
    2 asms: asms . asm
293
 
294
    $end   shift, and go to state 43
295
    LABEL  shift, and go to state 1
296
    ARI    shift, and go to state 2
297
    LDI    shift, and go to state 3
298
    LSI    shift, and go to state 4
299
    CMP    shift, and go to state 5
300
    BR     shift, and go to state 6
301
    SHA    shift, and go to state 7
302
    JUMP   shift, and go to state 8
303
    CALL   shift, and go to state 9
304
    MOV    shift, and go to state 10
305
    MEM    shift, and go to state 11
306
    SEL    shift, and go to state 12
307
    SELI   shift, and go to state 13
308
    LDL    shift, and go to state 14
309
    NOP    shift, and go to state 15
310
 
311
    asm      go to state 44
312
    nop      go to state 18
313
    ari      go to state 19
314
    ldsi     go to state 20
315
    cmp      go to state 21
316
    br       go to state 22
317
    sha      go to state 23
318
    jmpcall  go to state 24
319
    mov      go to state 25
320
    mem      go to state 26
321
    sel      go to state 27
322
    seli     go to state 28
323
    ldl      go to state 29
324
 
325
 
326
state 17
327
 
328
    1 asms: asm .
329
 
330
    $default  reduce using rule 1 (asms)
331
 
332
 
333
state 18
334
 
335
    4 asm: nop .
336
 
337
    $default  reduce using rule 4 (asm)
338
 
339
 
340
state 19
341
 
342
    5 asm: ari .
343
 
344
    $default  reduce using rule 5 (asm)
345
 
346
 
347
state 20
348
 
349
    6 asm: ldsi .
350
 
351
    $default  reduce using rule 6 (asm)
352
 
353
 
354
state 21
355
 
356
    7 asm: cmp .
357
 
358
    $default  reduce using rule 7 (asm)
359
 
360
 
361
state 22
362
 
363
    8 asm: br .
364
 
365
    $default  reduce using rule 8 (asm)
366
 
367
 
368
state 23
369
 
370
    9 asm: sha .
371
 
372
    $default  reduce using rule 9 (asm)
373
 
374
 
375
state 24
376
 
377
   10 asm: jmpcall .
378
 
379
    $default  reduce using rule 10 (asm)
380
 
381
 
382
state 25
383
 
384
   11 asm: mov .
385
 
386
    $default  reduce using rule 11 (asm)
387
 
388
 
389
state 26
390
 
391
   12 asm: mem .
392
 
393
    $default  reduce using rule 12 (asm)
394
 
395
 
396
state 27
397
 
398
   13 asm: sel .
399
 
400
    $default  reduce using rule 13 (asm)
401
 
402
 
403
state 28
404
 
405
   14 asm: seli .
406
 
407
    $default  reduce using rule 14 (asm)
408
 
409
 
410
state 29
411
 
412
   15 asm: ldl .
413
 
414
    $default  reduce using rule 15 (asm)
415
 
416
 
417
state 30
418
 
419
   17 ari: ARI REG . C REG C REG
420
 
421
    C  shift, and go to state 45
422
 
423
 
424
state 31
425
 
426
   18 ldsi: LDI REG . C imm8b
427
 
428
    C  shift, and go to state 46
429
 
430
 
431
state 32
432
 
433
   19 ldsi: LSI REG . C imm8b
434
 
435
    C  shift, and go to state 47
436
 
437
 
438
state 33
439
 
440
   20 cmp: CMP REG . C REG C REG
441
 
442
    C  shift, and go to state 48
443
 
444
 
445
state 34
446
 
447
   21 br: BR REG . C USELAB
448
   22   | BR REG . C imm8bs
449
 
450
    C  shift, and go to state 49
451
 
452
 
453
state 35
454
 
455
   23 sha: SHA REG . C imm6b
456
   24    | SHA REG . C REG C imm6b
457
 
458
    C  shift, and go to state 50
459
 
460
 
461
state 36
462
 
463
   25 jmpcall: JUMP OSBRA . REG CSBRA
464
 
465
    REG  shift, and go to state 51
466
 
467
 
468
state 37
469
 
470
   26 jmpcall: CALL REG . C OSBRA REG CSBRA
471
 
472
    C  shift, and go to state 52
473
 
474
 
475
state 38
476
 
477
   27 mov: MOV REG . C REG
478
 
479
    C  shift, and go to state 53
480
 
481
 
482
state 39
483
 
484
   28 mem: MEM REG . C OBRA REG CBRA
485
 
486
    C  shift, and go to state 54
487
 
488
 
489
state 40
490
 
491
   29 sel: SEL REG . C OBRA REG CBRA
492
   30    | SEL REG . C REG C OBRA REG CBRA
493
 
494
    C  shift, and go to state 55
495
 
496
 
497
state 41
498
 
499
   31 seli: SELI REG . C imm2b
500
   32     | SELI REG . C REG C imm2b
501
 
502
    C  shift, and go to state 56
503
 
504
 
505
state 42
506
 
507
   33 ldl: LDL REG . C imm32
508
   34    | LDL REG . C USELAB
509
 
510
    C  shift, and go to state 57
511
 
512
 
513
state 43
514
 
515
 
516
 
517
    $default  accept
518
 
519
 
520
state 44
521
 
522
    2 asms: asms asm .
523
 
524
    $default  reduce using rule 2 (asms)
525
 
526
 
527
state 45
528
 
529
   17 ari: ARI REG C . REG C REG
530
 
531
    REG  shift, and go to state 58
532
 
533
 
534
state 46
535
 
536
   18 ldsi: LDI REG C . imm8b
537
 
538
    IMM  shift, and go to state 59
539
 
540
    imm8b  go to state 60
541
 
542
 
543
state 47
544
 
545
   19 ldsi: LSI REG C . imm8b
546
 
547
    IMM  shift, and go to state 59
548
 
549
    imm8b  go to state 61
550
 
551
 
552
state 48
553
 
554
   20 cmp: CMP REG C . REG C REG
555
 
556
    REG  shift, and go to state 62
557
 
558
 
559
state 49
560
 
561
   21 br: BR REG C . USELAB
562
   22   | BR REG C . imm8bs
563
 
564
    IMM     shift, and go to state 63
565
    USELAB  shift, and go to state 64
566
 
567
    imm8bs  go to state 65
568
 
569
 
570
state 50
571
 
572
   23 sha: SHA REG C . imm6b
573
   24    | SHA REG C . REG C imm6b
574
 
575
    IMM  shift, and go to state 66
576
    REG  shift, and go to state 67
577
 
578
    imm6b  go to state 68
579
 
580
 
581
state 51
582
 
583
   25 jmpcall: JUMP OSBRA REG . CSBRA
584
 
585
    CSBRA  shift, and go to state 69
586
 
587
 
588
state 52
589
 
590
   26 jmpcall: CALL REG C . OSBRA REG CSBRA
591
 
592
    OSBRA  shift, and go to state 70
593
 
594
 
595
state 53
596
 
597
   27 mov: MOV REG C . REG
598
 
599
    REG  shift, and go to state 71
600
 
601
 
602
state 54
603
 
604
   28 mem: MEM REG C . OBRA REG CBRA
605
 
606
    OBRA  shift, and go to state 72
607
 
608
 
609
state 55
610
 
611
   29 sel: SEL REG C . OBRA REG CBRA
612
   30    | SEL REG C . REG C OBRA REG CBRA
613
 
614
    OBRA  shift, and go to state 73
615
    REG   shift, and go to state 74
616
 
617
 
618
state 56
619
 
620
   31 seli: SELI REG C . imm2b
621
   32     | SELI REG C . REG C imm2b
622
 
623
    IMM  shift, and go to state 75
624
    REG  shift, and go to state 76
625
 
626
    imm2b  go to state 77
627
 
628
 
629
state 57
630
 
631
   33 ldl: LDL REG C . imm32
632
   34    | LDL REG C . USELAB
633
 
634
    IMM     shift, and go to state 78
635
    USELAB  shift, and go to state 79
636
 
637
    imm32  go to state 80
638
 
639
 
640
state 58
641
 
642
   17 ari: ARI REG C REG . C REG
643
 
644
    C  shift, and go to state 81
645
 
646
 
647
state 59
648
 
649
   36 imm8b: IMM .
650
 
651
    $default  reduce using rule 36 (imm8b)
652
 
653
 
654
state 60
655
 
656
   18 ldsi: LDI REG C imm8b .
657
 
658
    $default  reduce using rule 18 (ldsi)
659
 
660
 
661
state 61
662
 
663
   19 ldsi: LSI REG C imm8b .
664
 
665
    $default  reduce using rule 19 (ldsi)
666
 
667
 
668
state 62
669
 
670
   20 cmp: CMP REG C REG . C REG
671
 
672
    C  shift, and go to state 82
673
 
674
 
675
state 63
676
 
677
   37 imm8bs: IMM .
678
 
679
    $default  reduce using rule 37 (imm8bs)
680
 
681
 
682
state 64
683
 
684
   21 br: BR REG C USELAB .
685
 
686
    $default  reduce using rule 21 (br)
687
 
688
 
689
state 65
690
 
691
   22 br: BR REG C imm8bs .
692
 
693
    $default  reduce using rule 22 (br)
694
 
695
 
696
state 66
697
 
698
   38 imm6b: IMM .
699
 
700
    $default  reduce using rule 38 (imm6b)
701
 
702
 
703
state 67
704
 
705
   24 sha: SHA REG C REG . C imm6b
706
 
707
    C  shift, and go to state 83
708
 
709
 
710
state 68
711
 
712
   23 sha: SHA REG C imm6b .
713
 
714
    $default  reduce using rule 23 (sha)
715
 
716
 
717
state 69
718
 
719
   25 jmpcall: JUMP OSBRA REG CSBRA .
720
 
721
    $default  reduce using rule 25 (jmpcall)
722
 
723
 
724
state 70
725
 
726
   26 jmpcall: CALL REG C OSBRA . REG CSBRA
727
 
728
    REG  shift, and go to state 84
729
 
730
 
731
state 71
732
 
733
   27 mov: MOV REG C REG .
734
 
735
    $default  reduce using rule 27 (mov)
736
 
737
 
738
state 72
739
 
740
   28 mem: MEM REG C OBRA . REG CBRA
741
 
742
    REG  shift, and go to state 85
743
 
744
 
745
state 73
746
 
747
   29 sel: SEL REG C OBRA . REG CBRA
748
 
749
    REG  shift, and go to state 86
750
 
751
 
752
state 74
753
 
754
   30 sel: SEL REG C REG . C OBRA REG CBRA
755
 
756
    C  shift, and go to state 87
757
 
758
 
759
state 75
760
 
761
   35 imm2b: IMM .
762
 
763
    $default  reduce using rule 35 (imm2b)
764
 
765
 
766
state 76
767
 
768
   32 seli: SELI REG C REG . C imm2b
769
 
770
    C  shift, and go to state 88
771
 
772
 
773
state 77
774
 
775
   31 seli: SELI REG C imm2b .
776
 
777
    $default  reduce using rule 31 (seli)
778
 
779
 
780
state 78
781
 
782
   39 imm32: IMM .
783
 
784
    $default  reduce using rule 39 (imm32)
785
 
786
 
787
state 79
788
 
789
   34 ldl: LDL REG C USELAB .
790
 
791
    $default  reduce using rule 34 (ldl)
792
 
793
 
794
state 80
795
 
796
   33 ldl: LDL REG C imm32 .
797
 
798
    $default  reduce using rule 33 (ldl)
799
 
800
 
801
state 81
802
 
803
   17 ari: ARI REG C REG C . REG
804
 
805
    REG  shift, and go to state 89
806
 
807
 
808
state 82
809
 
810
   20 cmp: CMP REG C REG C . REG
811
 
812
    REG  shift, and go to state 90
813
 
814
 
815
state 83
816
 
817
   24 sha: SHA REG C REG C . imm6b
818
 
819
    IMM  shift, and go to state 66
820
 
821
    imm6b  go to state 91
822
 
823
 
824
state 84
825
 
826
   26 jmpcall: CALL REG C OSBRA REG . CSBRA
827
 
828
    CSBRA  shift, and go to state 92
829
 
830
 
831
state 85
832
 
833
   28 mem: MEM REG C OBRA REG . CBRA
834
 
835
    CBRA  shift, and go to state 93
836
 
837
 
838
state 86
839
 
840
   29 sel: SEL REG C OBRA REG . CBRA
841
 
842
    CBRA  shift, and go to state 94
843
 
844
 
845
state 87
846
 
847
   30 sel: SEL REG C REG C . OBRA REG CBRA
848
 
849
    OBRA  shift, and go to state 95
850
 
851
 
852
state 88
853
 
854
   32 seli: SELI REG C REG C . imm2b
855
 
856
    IMM  shift, and go to state 75
857
 
858
    imm2b  go to state 96
859
 
860
 
861
state 89
862
 
863
   17 ari: ARI REG C REG C REG .
864
 
865
    $default  reduce using rule 17 (ari)
866
 
867
 
868
state 90
869
 
870
   20 cmp: CMP REG C REG C REG .
871
 
872
    $default  reduce using rule 20 (cmp)
873
 
874
 
875
state 91
876
 
877
   24 sha: SHA REG C REG C imm6b .
878
 
879
    $default  reduce using rule 24 (sha)
880
 
881
 
882
state 92
883
 
884
   26 jmpcall: CALL REG C OSBRA REG CSBRA .
885
 
886
    $default  reduce using rule 26 (jmpcall)
887
 
888
 
889
state 93
890
 
891
   28 mem: MEM REG C OBRA REG CBRA .
892
 
893
    $default  reduce using rule 28 (mem)
894
 
895
 
896
state 94
897
 
898
   29 sel: SEL REG C OBRA REG CBRA .
899
 
900
    $default  reduce using rule 29 (sel)
901
 
902
 
903
state 95
904
 
905
   30 sel: SEL REG C REG C OBRA . REG CBRA
906
 
907
    REG  shift, and go to state 97
908
 
909
 
910
state 96
911
 
912
   32 seli: SELI REG C REG C imm2b .
913
 
914
    $default  reduce using rule 32 (seli)
915
 
916
 
917
state 97
918
 
919
   30 sel: SEL REG C REG C OBRA REG . CBRA
920
 
921
    CBRA  shift, and go to state 98
922
 
923
 
924
state 98
925
 
926
   30 sel: SEL REG C REG C OBRA REG CBRA .
927
 
928
    $default  reduce using rule 30 (sel)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.