SlideShare a Scribd company logo
1 of 1
Download to read offline
The GNU compiler kit uses a machine-independent register transfer language, RTL, as an
intermediate language. The kit includes translators from several high-level languages (such as C,
C++, Pascal) into RTL, and translators from RTL into several machine codes (such as Alpha,
PPC, and SPARC). It also includes an RTL 'optimiser', i.e., a program that translates RTL into
more efficient RTL. All of these translators are expressed in C. a) Show how you would install
these translators on a SPARC machine, given a C compiler for the SPARC. [5] Now show how
you would use these translators to: b) Compile a program P, expressed in Pascal, into SPARC
machine code; [5] c) Compile the same program, but using the RTL optimiser to generate more
efficient object code; [5] d) Cross-compile a program Q, expressed in C++, into PP machine code.
[5]

More Related Content

Similar to The GNU compiler kit uses a machineindependent register tra.pdf

.NET Core, ASP.NET Core Course, Session 3
.NET Core, ASP.NET Core Course, Session 3.NET Core, ASP.NET Core Course, Session 3
.NET Core, ASP.NET Core Course, Session 3aminmesbahi
 
Source-to-Source Compiler
Source-to-Source CompilerSource-to-Source Compiler
Source-to-Source CompilerMintoo Jakhmola
 
Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Shipra Swati
 
C PROGRAMS 1.docx
C PROGRAMS 1.docxC PROGRAMS 1.docx
C PROGRAMS 1.docxSoloChan2
 
Apple IIgs Programming (K Fest)
Apple IIgs Programming (K Fest)Apple IIgs Programming (K Fest)
Apple IIgs Programming (K Fest)Polymorph
 
Issues in the design of Code Generator
Issues in the design of Code GeneratorIssues in the design of Code Generator
Issues in the design of Code GeneratorDarshan sai Reddy
 
Enterprise PL1 - Peter Elderon
Enterprise PL1 - Peter ElderonEnterprise PL1 - Peter Elderon
Enterprise PL1 - Peter ElderonNRB
 
Advance Android Application Development
Advance Android Application DevelopmentAdvance Android Application Development
Advance Android Application DevelopmentRamesh Prasad
 
4.LanguageProcessors and language Processing Activities.pdf
4.LanguageProcessors and language Processing Activities.pdf4.LanguageProcessors and language Processing Activities.pdf
4.LanguageProcessors and language Processing Activities.pdfSwapnaliPawar27
 
C++ programming language basic to advance level
C++ programming language basic to advance levelC++ programming language basic to advance level
C++ programming language basic to advance levelsajjad ali khan
 
cmp104 lec 8
cmp104 lec 8cmp104 lec 8
cmp104 lec 8kapil078
 
Microprocessor chapter 9 - assembly language programming
Microprocessor  chapter 9 - assembly language programmingMicroprocessor  chapter 9 - assembly language programming
Microprocessor chapter 9 - assembly language programmingWondeson Emeye
 

Similar to The GNU compiler kit uses a machineindependent register tra.pdf (20)

Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
 
.NET Core, ASP.NET Core Course, Session 3
.NET Core, ASP.NET Core Course, Session 3.NET Core, ASP.NET Core Course, Session 3
.NET Core, ASP.NET Core Course, Session 3
 
Alp 05
Alp 05Alp 05
Alp 05
 
Unit-2.pptx
Unit-2.pptxUnit-2.pptx
Unit-2.pptx
 
Source-to-Source Compiler
Source-to-Source CompilerSource-to-Source Compiler
Source-to-Source Compiler
 
Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7
 
C PROGRAMS 1.docx
C PROGRAMS 1.docxC PROGRAMS 1.docx
C PROGRAMS 1.docx
 
Apple IIgs Programming (K Fest)
Apple IIgs Programming (K Fest)Apple IIgs Programming (K Fest)
Apple IIgs Programming (K Fest)
 
Rcpp
RcppRcpp
Rcpp
 
Issues in the design of Code Generator
Issues in the design of Code GeneratorIssues in the design of Code Generator
Issues in the design of Code Generator
 
R ext world/ useR! Kiev
R ext world/ useR!  KievR ext world/ useR!  Kiev
R ext world/ useR! Kiev
 
C PROGRAMMING
C PROGRAMMINGC PROGRAMMING
C PROGRAMMING
 
Enterprise PL1 - Peter Elderon
Enterprise PL1 - Peter ElderonEnterprise PL1 - Peter Elderon
Enterprise PL1 - Peter Elderon
 
Ch1
Ch1Ch1
Ch1
 
Advance Android Application Development
Advance Android Application DevelopmentAdvance Android Application Development
Advance Android Application Development
 
4.LanguageProcessors and language Processing Activities.pdf
4.LanguageProcessors and language Processing Activities.pdf4.LanguageProcessors and language Processing Activities.pdf
4.LanguageProcessors and language Processing Activities.pdf
 
Ctutor ashu
Ctutor ashuCtutor ashu
Ctutor ashu
 
C++ programming language basic to advance level
C++ programming language basic to advance levelC++ programming language basic to advance level
C++ programming language basic to advance level
 
cmp104 lec 8
cmp104 lec 8cmp104 lec 8
cmp104 lec 8
 
Microprocessor chapter 9 - assembly language programming
Microprocessor  chapter 9 - assembly language programmingMicroprocessor  chapter 9 - assembly language programming
Microprocessor chapter 9 - assembly language programming
 

More from Adilsalleppey

a What proportion of these Tampa FL voters identify thems.pdf
a What proportion of these Tampa FL voters identify thems.pdfa What proportion of these Tampa FL voters identify thems.pdf
a What proportion of these Tampa FL voters identify thems.pdfAdilsalleppey
 
A What type of macromolecule are enzymes lipids proteins.pdf
A What type of macromolecule are enzymes lipids proteins.pdfA What type of macromolecule are enzymes lipids proteins.pdf
A What type of macromolecule are enzymes lipids proteins.pdfAdilsalleppey
 
A What minerals can you identify in the rock used for the f.pdf
A What minerals can you identify in the rock used for the f.pdfA What minerals can you identify in the rock used for the f.pdf
A What minerals can you identify in the rock used for the f.pdfAdilsalleppey
 
A What mineral comprises this rock Note that this mineral .pdf
A What mineral comprises this rock Note that this mineral .pdfA What mineral comprises this rock Note that this mineral .pdf
A What mineral comprises this rock Note that this mineral .pdfAdilsalleppey
 
A What minerals can you identify in the rock used for the s.pdf
A What minerals can you identify in the rock used for the s.pdfA What minerals can you identify in the rock used for the s.pdf
A What minerals can you identify in the rock used for the s.pdfAdilsalleppey
 
a What lead time in weeks is needed to respond to a custo.pdf
a What lead time in weeks is needed to respond to a custo.pdfa What lead time in weeks is needed to respond to a custo.pdf
a What lead time in weeks is needed to respond to a custo.pdfAdilsalleppey
 
a What is the main difference between Keynesian and Classic.pdf
a What is the main difference between Keynesian and Classic.pdfa What is the main difference between Keynesian and Classic.pdf
a What is the main difference between Keynesian and Classic.pdfAdilsalleppey
 
a What is strategic focus and why is it important b Wha.pdf
a What is strategic focus and why is it important b Wha.pdfa What is strategic focus and why is it important b Wha.pdf
a What is strategic focus and why is it important b Wha.pdfAdilsalleppey
 
a What is meant by the phrase the Cambrian explosion of li.pdf
a What is meant by the phrase the Cambrian explosion of li.pdfa What is meant by the phrase the Cambrian explosion of li.pdf
a What is meant by the phrase the Cambrian explosion of li.pdfAdilsalleppey
 
A welldeveloped answer will include relevant excerpts of ma.pdf
A welldeveloped answer will include relevant excerpts of ma.pdfA welldeveloped answer will include relevant excerpts of ma.pdf
A welldeveloped answer will include relevant excerpts of ma.pdfAdilsalleppey
 
a tubelike podium projecting on the inside b ampulla on t.pdf
a tubelike podium projecting on the inside b ampulla on t.pdfa tubelike podium projecting on the inside b ampulla on t.pdf
a tubelike podium projecting on the inside b ampulla on t.pdfAdilsalleppey
 
A ve B genleri balantl deildir Dominant A ekinik bir ldr.pdf
A ve B genleri balantl deildir Dominant A ekinik bir ldr.pdfA ve B genleri balantl deildir Dominant A ekinik bir ldr.pdf
A ve B genleri balantl deildir Dominant A ekinik bir ldr.pdfAdilsalleppey
 
a Uxyx01y04 b Uxyminxy c Uxyx+y hen calc.pdf
a Uxyx01y04 b Uxyminxy c Uxyx+y hen calc.pdfa Uxyx01y04 b Uxyminxy c Uxyx+y hen calc.pdf
a Uxyx01y04 b Uxyminxy c Uxyx+y hen calc.pdfAdilsalleppey
 
a Using the binomial distribution what is the probability.pdf
a Using the binomial distribution what is the probability.pdfa Using the binomial distribution what is the probability.pdf
a Using the binomial distribution what is the probability.pdfAdilsalleppey
 
a Use a graph and simple diagrams to describe how the prof.pdf
a Use a graph and simple diagrams to describe how the prof.pdfa Use a graph and simple diagrams to describe how the prof.pdf
a Use a graph and simple diagrams to describe how the prof.pdfAdilsalleppey
 
A unique species of primate is found that has lost the abili.pdf
A unique species of primate is found that has lost the abili.pdfA unique species of primate is found that has lost the abili.pdf
A unique species of primate is found that has lost the abili.pdfAdilsalleppey
 
A transmitter uses 64QAM symbols with a data rate of 96000.pdf
A transmitter uses 64QAM symbols with a data rate of 96000.pdfA transmitter uses 64QAM symbols with a data rate of 96000.pdf
A transmitter uses 64QAM symbols with a data rate of 96000.pdfAdilsalleppey
 
A type of plant will produce either red or orange flowers W.pdf
A type of plant will produce either red or orange flowers W.pdfA type of plant will produce either red or orange flowers W.pdf
A type of plant will produce either red or orange flowers W.pdfAdilsalleppey
 
A Treasury bond that katures in 10 years has a yield of 425.pdf
A Treasury bond that katures in 10 years has a yield of 425.pdfA Treasury bond that katures in 10 years has a yield of 425.pdf
A Treasury bond that katures in 10 years has a yield of 425.pdfAdilsalleppey
 
A typical resident of the country of Iberica consumes a simp.pdf
A typical resident of the country of Iberica consumes a simp.pdfA typical resident of the country of Iberica consumes a simp.pdf
A typical resident of the country of Iberica consumes a simp.pdfAdilsalleppey
 

More from Adilsalleppey (20)

a What proportion of these Tampa FL voters identify thems.pdf
a What proportion of these Tampa FL voters identify thems.pdfa What proportion of these Tampa FL voters identify thems.pdf
a What proportion of these Tampa FL voters identify thems.pdf
 
A What type of macromolecule are enzymes lipids proteins.pdf
A What type of macromolecule are enzymes lipids proteins.pdfA What type of macromolecule are enzymes lipids proteins.pdf
A What type of macromolecule are enzymes lipids proteins.pdf
 
A What minerals can you identify in the rock used for the f.pdf
A What minerals can you identify in the rock used for the f.pdfA What minerals can you identify in the rock used for the f.pdf
A What minerals can you identify in the rock used for the f.pdf
 
A What mineral comprises this rock Note that this mineral .pdf
A What mineral comprises this rock Note that this mineral .pdfA What mineral comprises this rock Note that this mineral .pdf
A What mineral comprises this rock Note that this mineral .pdf
 
A What minerals can you identify in the rock used for the s.pdf
A What minerals can you identify in the rock used for the s.pdfA What minerals can you identify in the rock used for the s.pdf
A What minerals can you identify in the rock used for the s.pdf
 
a What lead time in weeks is needed to respond to a custo.pdf
a What lead time in weeks is needed to respond to a custo.pdfa What lead time in weeks is needed to respond to a custo.pdf
a What lead time in weeks is needed to respond to a custo.pdf
 
a What is the main difference between Keynesian and Classic.pdf
a What is the main difference between Keynesian and Classic.pdfa What is the main difference between Keynesian and Classic.pdf
a What is the main difference between Keynesian and Classic.pdf
 
a What is strategic focus and why is it important b Wha.pdf
a What is strategic focus and why is it important b Wha.pdfa What is strategic focus and why is it important b Wha.pdf
a What is strategic focus and why is it important b Wha.pdf
 
a What is meant by the phrase the Cambrian explosion of li.pdf
a What is meant by the phrase the Cambrian explosion of li.pdfa What is meant by the phrase the Cambrian explosion of li.pdf
a What is meant by the phrase the Cambrian explosion of li.pdf
 
A welldeveloped answer will include relevant excerpts of ma.pdf
A welldeveloped answer will include relevant excerpts of ma.pdfA welldeveloped answer will include relevant excerpts of ma.pdf
A welldeveloped answer will include relevant excerpts of ma.pdf
 
a tubelike podium projecting on the inside b ampulla on t.pdf
a tubelike podium projecting on the inside b ampulla on t.pdfa tubelike podium projecting on the inside b ampulla on t.pdf
a tubelike podium projecting on the inside b ampulla on t.pdf
 
A ve B genleri balantl deildir Dominant A ekinik bir ldr.pdf
A ve B genleri balantl deildir Dominant A ekinik bir ldr.pdfA ve B genleri balantl deildir Dominant A ekinik bir ldr.pdf
A ve B genleri balantl deildir Dominant A ekinik bir ldr.pdf
 
a Uxyx01y04 b Uxyminxy c Uxyx+y hen calc.pdf
a Uxyx01y04 b Uxyminxy c Uxyx+y hen calc.pdfa Uxyx01y04 b Uxyminxy c Uxyx+y hen calc.pdf
a Uxyx01y04 b Uxyminxy c Uxyx+y hen calc.pdf
 
a Using the binomial distribution what is the probability.pdf
a Using the binomial distribution what is the probability.pdfa Using the binomial distribution what is the probability.pdf
a Using the binomial distribution what is the probability.pdf
 
a Use a graph and simple diagrams to describe how the prof.pdf
a Use a graph and simple diagrams to describe how the prof.pdfa Use a graph and simple diagrams to describe how the prof.pdf
a Use a graph and simple diagrams to describe how the prof.pdf
 
A unique species of primate is found that has lost the abili.pdf
A unique species of primate is found that has lost the abili.pdfA unique species of primate is found that has lost the abili.pdf
A unique species of primate is found that has lost the abili.pdf
 
A transmitter uses 64QAM symbols with a data rate of 96000.pdf
A transmitter uses 64QAM symbols with a data rate of 96000.pdfA transmitter uses 64QAM symbols with a data rate of 96000.pdf
A transmitter uses 64QAM symbols with a data rate of 96000.pdf
 
A type of plant will produce either red or orange flowers W.pdf
A type of plant will produce either red or orange flowers W.pdfA type of plant will produce either red or orange flowers W.pdf
A type of plant will produce either red or orange flowers W.pdf
 
A Treasury bond that katures in 10 years has a yield of 425.pdf
A Treasury bond that katures in 10 years has a yield of 425.pdfA Treasury bond that katures in 10 years has a yield of 425.pdf
A Treasury bond that katures in 10 years has a yield of 425.pdf
 
A typical resident of the country of Iberica consumes a simp.pdf
A typical resident of the country of Iberica consumes a simp.pdfA typical resident of the country of Iberica consumes a simp.pdf
A typical resident of the country of Iberica consumes a simp.pdf
 

Recently uploaded

FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................MirzaAbrarBaig5
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMELOISARIVERA8
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesPooky Knightsmith
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code ExamplesPeter Brusilovsky
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptxVishal Singh
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project researchCaitlinCummins3
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxneillewis46
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFVivekanand Anglo Vedic Academy
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnershipsexpandedwebsite
 

Recently uploaded (20)

FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 

The GNU compiler kit uses a machineindependent register tra.pdf

  • 1. The GNU compiler kit uses a machine-independent register transfer language, RTL, as an intermediate language. The kit includes translators from several high-level languages (such as C, C++, Pascal) into RTL, and translators from RTL into several machine codes (such as Alpha, PPC, and SPARC). It also includes an RTL 'optimiser', i.e., a program that translates RTL into more efficient RTL. All of these translators are expressed in C. a) Show how you would install these translators on a SPARC machine, given a C compiler for the SPARC. [5] Now show how you would use these translators to: b) Compile a program P, expressed in Pascal, into SPARC machine code; [5] c) Compile the same program, but using the RTL optimiser to generate more efficient object code; [5] d) Cross-compile a program Q, expressed in C++, into PP machine code. [5]