Searched refs:fp (Results 1 - 25 of 49) sorted by relevance

12

/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dutils.py33 fp = open(filename)
35 return fp.read()
37 fp.close()
/gem5/tests/test-progs/chdir-print/
H A Dchdir-print.c58 FILE *fp; local
62 fp = popen("cat cpuinfo", "r");
63 if (fp != NULL) {
64 while (fgets(buffer, BUFFER_SIZE, fp) != NULL) {
70 pclose(fp);
/gem5/src/sim/
H A Darguments.cc53 Arguments::getArg(uint16_t size, bool fp) argument
55 return TheISA::getArgument(tc, number, size, fp);
H A Darguments.hh45 uint64_t getArg(uint16_t size = (uint16_t)(-1), bool fp = false);
/gem5/src/base/
H A Dhostinfo.cc80 FILE *fp = fopen(filename, "r"); local
82 while (fp && !feof(fp) && !done) {
83 if (fgets(line, 80, fp)) {
88 fclose(fp);
94 if (fp)
95 fclose(fp);
/gem5/src/base/loader/
H A Dhex_file.cc53 fp = fopen(filename.c_str(), "r");
54 if (fp == NULL)
60 if (fp != NULL)
61 fclose(fp);
70 while (!feof(fp)) {
71 char *ret = fgets(Line, sizeof(Line), fp);
140 fclose(fp);
H A Dhex_file.hh46 FILE *fp; member in class:HexFile
/gem5/src/arch/null/
H A Dutility.hh49 bool fp) { return 0; }
48 getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) argument
/gem5/ext/systemc/src/sysc/qt/time/
H A Dcswap4 purpose = "report time used by int only and int+fp cswaps";
34 fp = times[m "_" test_fp];
35 printf ("%s|%3.1f|%3.1f\n", m, integer, fp);
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_trace_file_base.cpp60 , fp(0)
96 if( fp )
97 fclose(fp);
147 if(!fp) open_fp();
169 sc_assert( !fp );
170 fp = fopen( filename(), "w" );
171 if( !fp ) {
H A Dsc_trace_file_base.h101 FILE* fp; // pointer to the trace file member in class:sc_core::sc_trace_file_base
H A Dsc_wif_trace.cpp1576 std::fprintf(fp, "init ;\n\n");
1597 std::fprintf(fp,"header %s \"%s\" ;\n\n", buf, sc_version());
1599 std::fprintf(fp, "comment \"ASCII WIF file produced on date: %s\" ;\n"
1603 std::fprintf(fp, "comment \"Created by %s\" ;\n", sc_version());
1605 std::fprintf(fp, "comment \"Convert this file to binary WIF format using a2wif\" ;\n\n");
1608 std::fprintf(fp, "type scalar \"BIT\" enum '0', '1' ;\n");
1609 std::fprintf(fp, "type scalar \"MVL\" enum '0', '1', 'X', 'Z', '?' ;\n");
1610 std::fprintf(fp, "\n");
1617 t->print_variable_declaration_line(fp);
1638 t->write(fp);
[all...]
/gem5/src/arch/power/
H A Dutility.cc63 getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) argument
H A Dutility.hh81 uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp);
/gem5/src/systemc/tests/systemc/misc/sim_tests/simple_cpu/
H A Dsimple_cpu.cpp69 FILE *fp = fopen("simple_cpu/datamem", "r"); local
70 if (fp == (FILE *) 0) return; // No data mem file to read
73 fscanf(fp, "%d", &size);
81 while (fscanf(fp, "%x", &mem_word) != EOF) {
208 FILE *fp = fopen("simple_cpu/progmem", "r"); local
209 if (fp == (FILE *) 0) return; // No prog mem file to read
212 fscanf(fp, "%d", &size);
220 while (fscanf(fp, "%x", &mem_word) != EOF) {
/gem5/src/arch/alpha/
H A Dutility.cc41 getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) argument
50 if (fp)
H A Dutility.hh53 uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp);
/gem5/ext/systemc/src/sysc/qt/md/
H A Dvax.s28 // Since the prologue saves 5 registers, nargs, pc, fp, ap, mask, and
43 addl3 sp,$12,fp /* .. including the frame pointer. */
/gem5/src/arch/x86/
H A Dsystem.cc332 X86System::writeOutMPTable(Addr fp, argument
336 // it after the floating pointer. The fp size as of the 1.4 Intel MP
340 table = fp + 0x10;
344 fpSize = mpFloatingPointer->writeOut(physProxy, fp);
351 // ourselves and the fp structure was the size we thought it was.
352 assert(fp > table || fp + fpSize <= table);
353 assert(table > fp || table + tableSize <= fp);
H A Dutility.hh59 getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp);
H A Dsystem.hh101 void writeOutMPTable(Addr fp,
/gem5/src/arch/sparc/
H A Dutility.hh55 uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp);
/gem5/src/arch/riscv/
H A Dutility.hh115 getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp) argument
/gem5/src/arch/mips/
H A Dutility.hh56 uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp);
/gem5/src/arch/arm/insts/
H A Dvfp.hh156 fpToBits(float fp) argument
160 float fp; member in union:ArmISA::__anon3
163 val.fp = fp;
168 fpToBits(double fp) argument
172 double fp; member in union:ArmISA::__anon4
175 val.fp = fp;
184 float fp; member in union:ArmISA::__anon5
188 return val.fp;
196 double fp; member in union:ArmISA::__anon6
[all...]

Completed in 29 milliseconds

12