Saturday, May 19, 2007

Firefox Inside Firefox

Hope you are using Firefox, simply great a
nd ubiquitous browser. Did you ever try typing this into your browser's address field. Try it and see for yourself:

chrome://browser/content/browser.xul

Here is a nice preview:



I use GTK-QT engine. So you may find my browser slightly different.

Enjoy :-)

Wednesday, May 09, 2007


This will make you jump out of your chairs. The subject of states and transitions looks a lot more interesting. While compiling gcc you get this as a part of output to console:

Automaton `pentium'
48 NDFA states, 138 NDFA arcs
48 DFA states, 138 DFA arcs
20 minimal DFA states, 82 minimal DFA arcs
273 all insns 17 insn equivalence classes
88 transition comb vector els, 340 trans table els: use comb vect
88 state alts comb vector els, 340 state alts table els: use comb vect
340 min delay table els, compression factor 2

Automaton `pentium_fpu'
80 NDFA states, 172 NDFA arcs
80 DFA states, 172 DFA arcs
75 minimal DFA states, 162 minimal DFA arcs
273 all insns 8 insn equivalence classes
164 transition comb vector els, 600 trans table els: use comb vect
164 state alts comb vector els, 600 state alts table els: use comb vect
600 min delay table els, compression factor 1

Automaton `ppro_decoder'
4 NDFA states, 12 NDFA arcs
4 DFA states, 12 DFA arcs
4 minimal DFA states, 12 minimal DFA arcs
273 all insns 4 insn equivalence classes
13 transition comb vector els, 16 trans table els: use simple vect
13 state alts comb vector els, 16 state alts table els: use simple vect
16 min delay table els, compression factor 8

Automaton `ppro_core'
105 NDFA states, 376 NDFA arcs
105 DFA states, 376 DFA arcs
105 minimal DFA states, 376 minimal DFA arcs
273 all insns 13 insn equivalence classes
481 transition comb vector els, 1365 trans table els: use comb vect
481 state alts comb vector els, 1365 state alts table els: use comb vect
1365 min delay table els, compression factor 1

Automaton `ppro_idiv'
38 NDFA states, 79 NDFA arcs
38 DFA states, 79 DFA arcs
38 minimal DFA states, 79 minimal DFA arcs
273 all insns 5 insn equivalence classes
82 transition comb vector els, 190 trans table els: use simple vect
82 state alts comb vector els, 190 state alts table els: use simple vect
190 min delay table els, compression factor 1

Automaton `ppro_fdiv'
38 NDFA states, 79 NDFA arcs
38 DFA states, 79 DFA arcs
38 minimal DFA states, 79 minimal DFA arcs
273 all insns 5 insn equivalence classes
82 transition comb vector els, 190 trans table els: use simple vect
82 state alts comb vector els, 190 state alts table els: use simple vect
190 min delay table els, compression factor 1

Automaton `ppro_load'
3 NDFA states, 8 NDFA arcs
3 DFA states, 8 DFA arcs
3 minimal DFA states, 8 minimal DFA arcs
273 all insns 4 insn equivalence classes
9 transition comb vector els, 12 trans table els: use simple vect
9 state alts comb vector els, 12 state alts table els: use simple vect
12 min delay table els, compression factor 4

Automaton `ppro_store'
16 NDFA states, 56 NDFA arcs
16 DFA states, 56 DFA arcs
11 minimal DFA states, 44 minimal DFA arcs
273 all insns 7 insn equivalence classes
51 transition comb vector els, 77 trans table els: use simple vect
51 state alts comb vector els, 77 state alts table els: use simple vect
77 min delay table els, compression factor 4

Automaton `k6_decoder'
4 NDFA states, 11 NDFA arcs
4 DFA states, 11 DFA arcs
3 minimal DFA states, 9 minimal DFA arcs
273 all insns 4 insn equivalence classes
10 transition comb vector els, 12 trans table els: use simple vect
10 state alts comb vector els, 12 state alts table els: use simple vect
12 min delay table els, compression factor 8

Automaton `k6_load_unit'
11 NDFA states, 24 NDFA arcs
11 DFA states, 24 DFA arcs
11 minimal DFA states, 24 minimal DFA arcs
273 all insns 4 insn equivalence classes
26 transition comb vector els, 44 trans table els: use simple vect
26 state alts comb vector els, 44 state alts table els: use simple vect
44 min delay table els, compression factor 2

Automaton `k6_store_unit'
68 NDFA states, 233 NDFA arcs
68 DFA states, 233 DFA arcs
37 minimal DFA states, 126 minimal DFA arcs
273 all insns 6 insn equivalence classes
140 transition comb vector els, 222 trans table els: use simple vect
140 state alts comb vector els, 222 state alts table els: use simple vect
222 min delay table els, compression factor 1

Automaton `k6_integer_units'
114 NDFA states, 396 NDFA arcs
114 DFA states, 396 DFA arcs
114 minimal DFA states, 396 minimal DFA arcs
273 all insns 11 insn equivalence classes
471 transition comb vector els, 1254 trans table els: use comb vect
471 state alts comb vector els, 1254 state alts table els: use comb vect
1254 min delay table els, compression factor 1

Automaton `k6_fpu_unit'
58 NDFA states, 120 NDFA arcs
58 DFA states, 120 DFA arcs
57 minimal DFA states, 118 minimal DFA arcs
273 all insns 5 insn equivalence classes
120 transition comb vector els, 285 trans table els: use simple vect
120 state alts comb vector els, 285 state alts table els: use simple vect
285 min delay table els, compression factor 1

Automaton `k6_branch_unit'
2 NDFA states, 5 NDFA arcs
2 DFA states, 5 DFA arcs
2 minimal DFA states, 5 minimal DFA arcs
273 all insns 3 insn equivalence classes
6 transition comb vector els, 6 trans table els: use simple vect
6 state alts comb vector els, 6 state alts table els: use simple vect
6 min delay table els, compression factor 8

Automaton `athlon'
518 NDFA states, 1668 NDFA arcs
518 DFA states, 1668 DFA arcs
76 minimal DFA states, 328 minimal DFA arcs
273 all insns 10 insn equivalence classes
359 transition comb vector els, 760 trans table els: use simple vect
359 state alts comb vector els, 760 state alts table els: use simple vect
760 min delay table els, compression factor 2

Automaton `athlon_load'
162 NDFA states, 855 NDFA arcs
162 DFA states, 855 DFA arcs
162 minimal DFA states, 855 minimal DFA arcs
273 all insns 10 insn equivalence classes
1047 transition comb vector els, 1620 trans table els: use simple vect
1047 state alts comb vector els, 1620 state alts table els: use simple vect
1620 min delay table els, compression factor 2

Automaton `athlon_mult'
16 NDFA states, 48 NDFA arcs
16 DFA states, 48 DFA arcs
16 minimal DFA states, 48 minimal DFA arcs
273 all insns 4 insn equivalence classes
50 transition comb vector els, 64 trans table els: use simple vect
50 state alts comb vector els, 64 state alts table els: use simple vect
64 min delay table els, compression factor 2

Automaton `athlon_fp'
15522 NDFA states, 99908 NDFA arcs
15522 DFA states, 99908 DFA arcs
463 minimal DFA states, 3038 minimal DFA arcs
273 all insns 21 insn equivalence classes
3057 transition comb vector els, 9723 trans table els: use comb vect
3057 state alts comb vector els, 9723 state alts table els: use comb vect
9723 min delay table els, compression factor 1

17533 all allocated states, 102661 all allocated arcs
32710 all allocated alternative states
6256 all transition comb vector els, 16780 all trans table els
6256 all state alts comb vector els, 16780 all state alts table els
16780 all min delay table els
0 locked states num

transformation: 0.024001, building DFA: 10.140634
DFA minimization: 0.652040, making insn equivalence: 0.004001
all automaton generation: 11.156698, output: 0.108006

Processor specs, of the system on which the gcc was compiled, are:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping : 7
cpu MHz : 2400.000
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe up cid
bogomips : 4852.02