Answer the question
In order to leave comments, you need to log in
What are predicate files?
What are predicate files, why are they needed in PC (computer) programming, multiprocessor systems?
How do they work?
Please, I have already rummaged through a lot of literature in a month and a half in Russian and English, but I have not found an answer that satisfies the teacher ...
Answer the question
In order to leave comments, you need to log in
Predicate (lat. praedicatum - stated, mentioned, said) - any mathematical statement in which there is at least one variable (c) Wiki
Based on this, we look further.
“A construction is considered logically correct if the composition corresponding to it is logical. A programming language is called predicate (and a program is called predicate) if all of its executable constructs are logically correct. (c) Shelekhov V.I. PREDICATIVE PROGRAMMING: BASICS, LANGUAGE, TECHNOLOGY
There are predicates, there are predicate constructions, there are predicate algorithms, programs, there are predicate languages… There are no predicate files, as far as I know… are you sure that the question is about FILES?
If you consider that yes, then you can try to fantasize. For example: If the files\resources used in the program are dynamic, or are connected\used on the basis of predicate constructions, then you can try to call the file predicate.
IMHO
If we are talking about Itanium, (IA-64), then it could mean predicate register file
In Itanium, the processor has predicate registers - one-bit registers that are set by comparison instructions and can be used to execute or not execute instructions.
For example, the following code:
Will look like this:
The collection of all predicate registers is called the predicate register file.
if (r1==r2)
{
r3=r4;
}
else
{
r3=r5;
}
cmp.eq p1,p2 = r1
(p1) mov r3=r4
(p2) mov r3=r5
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question