Assembly writer vs compiler in VLIW architectureConversion from assembly program to low-level machine...
Why when I add jam to my tea it stops producing thin "membrane" on top?
Slice a list based on an index and items behind it in python
Formal Definition of Dot Product
UUID type for NEWID()
What dog breeds survive the apocalypse for generations?
What was Varys trying to do at the beginning of S08E05?
When did game consoles begin including FPUs?
Does the Rogue's Reliable Talent feature work for thieves' tools, since the rogue is proficient in them?
Using chord iii in a chord progression (major key)
Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?
How to not get blinded by an attack at dawn
What is this weird d12 for?
Why can't I share a one use code with anyone else?
Single word that parallels "Recent" when discussing the near future
Why commonly or frequently used fonts sizes are even numbers like 10px, 12px, 16px, 24px, or 32px?
Is the seat-belt sign activation when a pilot goes to the lavatory standard procedure?
Should I communicate in my applications that I'm unemployed out of choice rather than because nobody will have me?
Understanding Deutch's Algorithm
Does this "yield your space to an ally" rule my 3.5 group uses appear anywhere in the official rules?
Can my American children re-enter the USA by International flight with a passport card? Being that their passport book has expired
Why did Varys remove his rings?
How did the horses get to space?
Will the volt, ampere, ohm or other electrical units change on May 20th, 2019?
How to describe a building set which is like LEGO without using the "LEGO" word?
Assembly writer vs compiler in VLIW architecture
Conversion from assembly program to low-level machine languageWhat do I need to study in order to understand and design a programming language?What defines a tool as a “compiler”is the problem of parallelising any program, NP-complete?What's the advantage of typed assembly?Implementing a Compiler with MacrosThe difference between compiler and interpreterIs it possible to tell if two sequences of assembly instructions are semantically equivalent?High Level Assemblers vs Compilers?Do “compiler” and “assembler” correspond to frontend and backend phases of a compiler?
$begingroup$
I read this sentence in a book:
In VLIW architecture, the compiler/and or assembly writer chooses instructions that can be executed in parallel.
What is the difference between assembly writer and compiler? Would an assembly writer also mean the same as assembler?
compilers assembly
New contributor
$endgroup$
add a comment |
$begingroup$
I read this sentence in a book:
In VLIW architecture, the compiler/and or assembly writer chooses instructions that can be executed in parallel.
What is the difference between assembly writer and compiler? Would an assembly writer also mean the same as assembler?
compilers assembly
New contributor
$endgroup$
add a comment |
$begingroup$
I read this sentence in a book:
In VLIW architecture, the compiler/and or assembly writer chooses instructions that can be executed in parallel.
What is the difference between assembly writer and compiler? Would an assembly writer also mean the same as assembler?
compilers assembly
New contributor
$endgroup$
I read this sentence in a book:
In VLIW architecture, the compiler/and or assembly writer chooses instructions that can be executed in parallel.
What is the difference between assembly writer and compiler? Would an assembly writer also mean the same as assembler?
compilers assembly
compilers assembly
New contributor
New contributor
edited 38 mins ago
Discrete lizard♦
5,09811642
5,09811642
New contributor
asked yesterday
Dasha ShamDasha Sham
363
363
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
The "assembly writer" in that book is a human software developer who writes code in assembler language.
$endgroup$
$begingroup$
It doesn't mean a tool flow which converts to assembly language? Is compiler the only one that does it? (apart from interpreter).
$endgroup$
– Dasha Sham
23 hours ago
12
$begingroup$
1. interpreter doesn't convert anything to assembly language. 2. Any tool that converts source code to assembly language is by definition a compiler.
$endgroup$
– gnasher729
22 hours ago
$begingroup$
@gnasher729 by your definition, wouldn't an assembler (the tool, not a person) also be a compiler?
$endgroup$
– Kelly S. French
10 hours ago
2
$begingroup$
@KellyS.French an assembler converts assembly language code to machine code, so with this definition it isn't a compiler. If, however, you have a tool that converts one assembly language into another (e.g. ARBfp1.0 to native assembly language of a modern GPU), this tool is a compiler (with this definition).
$endgroup$
– Ruslan
10 hours ago
1
$begingroup$
@gnasher729 - nitpick: by most definitions, the "Assembly language" part of (2) is unnecessary (notably, things like the typescript compiler or the java compiler, neither of which compile the source to assembly, but compile to javascript or java bytecode respectively). More recently it generally means any tool which compiles one programming language into another programming language (and assembly is technically a programming language).
$endgroup$
– Delioth
8 hours ago
add a comment |
$begingroup$
In VLIW architecture, the compiler/and or assembly writer chooses instructions that can be executed in parallel
The meaning of this sentence is that in VLIW architecture, assembler (machine) code defines which instruction will be executed in parallel, so it's fixed at the time assembly code is written by a human or generated by a compiler.
This differs from super-scalar cpus, where instructions may be executed in parallel, this is a decision made by CPU each time it executes the instructions.
There are also CPUs that combine both approaches - Itanium2 is backward-compatible with Itanium, packing 3 instructions into VLIW word. But, afair, Itanium2 can execute two such packs in the single CPU cycle, and this decision is made at execution time.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "419"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Dasha Sham is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f109326%2fassembly-writer-vs-compiler-in-vliw-architecture%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The "assembly writer" in that book is a human software developer who writes code in assembler language.
$endgroup$
$begingroup$
It doesn't mean a tool flow which converts to assembly language? Is compiler the only one that does it? (apart from interpreter).
$endgroup$
– Dasha Sham
23 hours ago
12
$begingroup$
1. interpreter doesn't convert anything to assembly language. 2. Any tool that converts source code to assembly language is by definition a compiler.
$endgroup$
– gnasher729
22 hours ago
$begingroup$
@gnasher729 by your definition, wouldn't an assembler (the tool, not a person) also be a compiler?
$endgroup$
– Kelly S. French
10 hours ago
2
$begingroup$
@KellyS.French an assembler converts assembly language code to machine code, so with this definition it isn't a compiler. If, however, you have a tool that converts one assembly language into another (e.g. ARBfp1.0 to native assembly language of a modern GPU), this tool is a compiler (with this definition).
$endgroup$
– Ruslan
10 hours ago
1
$begingroup$
@gnasher729 - nitpick: by most definitions, the "Assembly language" part of (2) is unnecessary (notably, things like the typescript compiler or the java compiler, neither of which compile the source to assembly, but compile to javascript or java bytecode respectively). More recently it generally means any tool which compiles one programming language into another programming language (and assembly is technically a programming language).
$endgroup$
– Delioth
8 hours ago
add a comment |
$begingroup$
The "assembly writer" in that book is a human software developer who writes code in assembler language.
$endgroup$
$begingroup$
It doesn't mean a tool flow which converts to assembly language? Is compiler the only one that does it? (apart from interpreter).
$endgroup$
– Dasha Sham
23 hours ago
12
$begingroup$
1. interpreter doesn't convert anything to assembly language. 2. Any tool that converts source code to assembly language is by definition a compiler.
$endgroup$
– gnasher729
22 hours ago
$begingroup$
@gnasher729 by your definition, wouldn't an assembler (the tool, not a person) also be a compiler?
$endgroup$
– Kelly S. French
10 hours ago
2
$begingroup$
@KellyS.French an assembler converts assembly language code to machine code, so with this definition it isn't a compiler. If, however, you have a tool that converts one assembly language into another (e.g. ARBfp1.0 to native assembly language of a modern GPU), this tool is a compiler (with this definition).
$endgroup$
– Ruslan
10 hours ago
1
$begingroup$
@gnasher729 - nitpick: by most definitions, the "Assembly language" part of (2) is unnecessary (notably, things like the typescript compiler or the java compiler, neither of which compile the source to assembly, but compile to javascript or java bytecode respectively). More recently it generally means any tool which compiles one programming language into another programming language (and assembly is technically a programming language).
$endgroup$
– Delioth
8 hours ago
add a comment |
$begingroup$
The "assembly writer" in that book is a human software developer who writes code in assembler language.
$endgroup$
The "assembly writer" in that book is a human software developer who writes code in assembler language.
answered 23 hours ago
gnasher729gnasher729
12.8k1523
12.8k1523
$begingroup$
It doesn't mean a tool flow which converts to assembly language? Is compiler the only one that does it? (apart from interpreter).
$endgroup$
– Dasha Sham
23 hours ago
12
$begingroup$
1. interpreter doesn't convert anything to assembly language. 2. Any tool that converts source code to assembly language is by definition a compiler.
$endgroup$
– gnasher729
22 hours ago
$begingroup$
@gnasher729 by your definition, wouldn't an assembler (the tool, not a person) also be a compiler?
$endgroup$
– Kelly S. French
10 hours ago
2
$begingroup$
@KellyS.French an assembler converts assembly language code to machine code, so with this definition it isn't a compiler. If, however, you have a tool that converts one assembly language into another (e.g. ARBfp1.0 to native assembly language of a modern GPU), this tool is a compiler (with this definition).
$endgroup$
– Ruslan
10 hours ago
1
$begingroup$
@gnasher729 - nitpick: by most definitions, the "Assembly language" part of (2) is unnecessary (notably, things like the typescript compiler or the java compiler, neither of which compile the source to assembly, but compile to javascript or java bytecode respectively). More recently it generally means any tool which compiles one programming language into another programming language (and assembly is technically a programming language).
$endgroup$
– Delioth
8 hours ago
add a comment |
$begingroup$
It doesn't mean a tool flow which converts to assembly language? Is compiler the only one that does it? (apart from interpreter).
$endgroup$
– Dasha Sham
23 hours ago
12
$begingroup$
1. interpreter doesn't convert anything to assembly language. 2. Any tool that converts source code to assembly language is by definition a compiler.
$endgroup$
– gnasher729
22 hours ago
$begingroup$
@gnasher729 by your definition, wouldn't an assembler (the tool, not a person) also be a compiler?
$endgroup$
– Kelly S. French
10 hours ago
2
$begingroup$
@KellyS.French an assembler converts assembly language code to machine code, so with this definition it isn't a compiler. If, however, you have a tool that converts one assembly language into another (e.g. ARBfp1.0 to native assembly language of a modern GPU), this tool is a compiler (with this definition).
$endgroup$
– Ruslan
10 hours ago
1
$begingroup$
@gnasher729 - nitpick: by most definitions, the "Assembly language" part of (2) is unnecessary (notably, things like the typescript compiler or the java compiler, neither of which compile the source to assembly, but compile to javascript or java bytecode respectively). More recently it generally means any tool which compiles one programming language into another programming language (and assembly is technically a programming language).
$endgroup$
– Delioth
8 hours ago
$begingroup$
It doesn't mean a tool flow which converts to assembly language? Is compiler the only one that does it? (apart from interpreter).
$endgroup$
– Dasha Sham
23 hours ago
$begingroup$
It doesn't mean a tool flow which converts to assembly language? Is compiler the only one that does it? (apart from interpreter).
$endgroup$
– Dasha Sham
23 hours ago
12
12
$begingroup$
1. interpreter doesn't convert anything to assembly language. 2. Any tool that converts source code to assembly language is by definition a compiler.
$endgroup$
– gnasher729
22 hours ago
$begingroup$
1. interpreter doesn't convert anything to assembly language. 2. Any tool that converts source code to assembly language is by definition a compiler.
$endgroup$
– gnasher729
22 hours ago
$begingroup$
@gnasher729 by your definition, wouldn't an assembler (the tool, not a person) also be a compiler?
$endgroup$
– Kelly S. French
10 hours ago
$begingroup$
@gnasher729 by your definition, wouldn't an assembler (the tool, not a person) also be a compiler?
$endgroup$
– Kelly S. French
10 hours ago
2
2
$begingroup$
@KellyS.French an assembler converts assembly language code to machine code, so with this definition it isn't a compiler. If, however, you have a tool that converts one assembly language into another (e.g. ARBfp1.0 to native assembly language of a modern GPU), this tool is a compiler (with this definition).
$endgroup$
– Ruslan
10 hours ago
$begingroup$
@KellyS.French an assembler converts assembly language code to machine code, so with this definition it isn't a compiler. If, however, you have a tool that converts one assembly language into another (e.g. ARBfp1.0 to native assembly language of a modern GPU), this tool is a compiler (with this definition).
$endgroup$
– Ruslan
10 hours ago
1
1
$begingroup$
@gnasher729 - nitpick: by most definitions, the "Assembly language" part of (2) is unnecessary (notably, things like the typescript compiler or the java compiler, neither of which compile the source to assembly, but compile to javascript or java bytecode respectively). More recently it generally means any tool which compiles one programming language into another programming language (and assembly is technically a programming language).
$endgroup$
– Delioth
8 hours ago
$begingroup$
@gnasher729 - nitpick: by most definitions, the "Assembly language" part of (2) is unnecessary (notably, things like the typescript compiler or the java compiler, neither of which compile the source to assembly, but compile to javascript or java bytecode respectively). More recently it generally means any tool which compiles one programming language into another programming language (and assembly is technically a programming language).
$endgroup$
– Delioth
8 hours ago
add a comment |
$begingroup$
In VLIW architecture, the compiler/and or assembly writer chooses instructions that can be executed in parallel
The meaning of this sentence is that in VLIW architecture, assembler (machine) code defines which instruction will be executed in parallel, so it's fixed at the time assembly code is written by a human or generated by a compiler.
This differs from super-scalar cpus, where instructions may be executed in parallel, this is a decision made by CPU each time it executes the instructions.
There are also CPUs that combine both approaches - Itanium2 is backward-compatible with Itanium, packing 3 instructions into VLIW word. But, afair, Itanium2 can execute two such packs in the single CPU cycle, and this decision is made at execution time.
$endgroup$
add a comment |
$begingroup$
In VLIW architecture, the compiler/and or assembly writer chooses instructions that can be executed in parallel
The meaning of this sentence is that in VLIW architecture, assembler (machine) code defines which instruction will be executed in parallel, so it's fixed at the time assembly code is written by a human or generated by a compiler.
This differs from super-scalar cpus, where instructions may be executed in parallel, this is a decision made by CPU each time it executes the instructions.
There are also CPUs that combine both approaches - Itanium2 is backward-compatible with Itanium, packing 3 instructions into VLIW word. But, afair, Itanium2 can execute two such packs in the single CPU cycle, and this decision is made at execution time.
$endgroup$
add a comment |
$begingroup$
In VLIW architecture, the compiler/and or assembly writer chooses instructions that can be executed in parallel
The meaning of this sentence is that in VLIW architecture, assembler (machine) code defines which instruction will be executed in parallel, so it's fixed at the time assembly code is written by a human or generated by a compiler.
This differs from super-scalar cpus, where instructions may be executed in parallel, this is a decision made by CPU each time it executes the instructions.
There are also CPUs that combine both approaches - Itanium2 is backward-compatible with Itanium, packing 3 instructions into VLIW word. But, afair, Itanium2 can execute two such packs in the single CPU cycle, and this decision is made at execution time.
$endgroup$
In VLIW architecture, the compiler/and or assembly writer chooses instructions that can be executed in parallel
The meaning of this sentence is that in VLIW architecture, assembler (machine) code defines which instruction will be executed in parallel, so it's fixed at the time assembly code is written by a human or generated by a compiler.
This differs from super-scalar cpus, where instructions may be executed in parallel, this is a decision made by CPU each time it executes the instructions.
There are also CPUs that combine both approaches - Itanium2 is backward-compatible with Itanium, packing 3 instructions into VLIW word. But, afair, Itanium2 can execute two such packs in the single CPU cycle, and this decision is made at execution time.
answered 22 hours ago
BulatBulat
1,201612
1,201612
add a comment |
add a comment |
Dasha Sham is a new contributor. Be nice, and check out our Code of Conduct.
Dasha Sham is a new contributor. Be nice, and check out our Code of Conduct.
Dasha Sham is a new contributor. Be nice, and check out our Code of Conduct.
Dasha Sham is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Computer Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f109326%2fassembly-writer-vs-compiler-in-vliw-architecture%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown