Commit graph

  • 11a54e0a7c These instructions write to the CR. George Koehler 2017-12-10 14:01:14 -0500
  • 504d2aa34e Revise stack shuffles and integer conversions in PowerPC ncg. George Koehler 2017-12-09 17:21:06 -0500
  • 48788287b8 Add more chances to put results in register variables. George Koehler 2017-12-08 17:19:26 -0500
  • 6b933db90b Split C from CONST. George Koehler 2017-12-07 19:24:09 -0500
  • a1d1f38691 Add test for EM rol, ror. Fix i80, i86, powerpc. George Koehler 2017-12-07 17:16:21 -0500
  • c95bcac91d Correct the stack pointer when i80 shrinks an integer. George Koehler 2017-12-07 15:39:41 -0500
  • 34cf0c8b63 Kill registers a, de, when i80 ncg does Call libem. George Koehler 2017-12-06 22:14:00 -0500
  • 88207db638 Use <stdarg.h> in util/misc/convert.c George Koehler 2017-12-06 17:09:12 -0500
  • 6d91bdbbbd
    Merge pull request #69 from kernigh/kernigh-stdc David Given 2017-11-19 12:00:40 +0100
  • fb90b7b8d8
    Merge pull request #66 from davidgiven/dtrg-warnings David Given 2017-11-19 11:39:45 +0100
  • 760da1f421 Fix build with gcc. George Koehler 2017-11-17 17:52:37 -0500
  • 11d48be49e Fix my typo from commit 5bbbaf4. George Koehler 2017-11-17 15:46:24 -0500
  • d99a0682fc Switch ego to libc <assert.h> George Koehler 2017-11-15 19:48:53 -0500
  • 9037d137f5 Add prototypes, void in util/ego/share George Koehler 2017-11-15 16:29:27 -0500
  • caa9df5449 LLgen won't update the output file timestamp if the file contents doesn't change, which confuses ninja no end. Fix this. David Given 2017-11-15 19:41:39 +0100
  • 5bbbaf4919 Use size_t and void with memory allocation in ego. George Koehler 2017-11-14 20:35:18 -0500
  • 87a2315037 strcmp, strncmp are in <string.h> George Koehler 2017-11-14 17:04:01 -0500
  • 229b80a004 Free buf in GetFile(). George Koehler 2017-11-13 21:34:31 -0500
  • fbff3a4790 Check each format string in tabgen.c George Koehler 2017-11-13 20:40:43 -0500
  • 974fa93491 Silence warning about pointer cast to int. George Koehler 2017-11-13 18:21:26 -0500
  • ddf9de3f49 strcpy() is in <string.h> George Koehler 2017-11-13 17:57:02 -0500
  • 5301cceee3 Declare machine-dependent functions in mach/proto/ncg George Koehler 2017-11-13 14:23:44 -0500
  • e04166b85d More prototypes, less register in mach/proto/ncg George Koehler 2017-11-13 12:44:17 -0500
  • 909b0d5bf3 Add prototypes to functions in subr.c George Koehler 2017-11-12 16:11:05 -0500
  • ba2a45180c Prototypes for string functions. More static. George Koehler 2017-11-12 11:25:18 -0500
  • 98b27dd505 Remove old "assert.h" in mach/proto/ncg George Koehler 2017-11-11 19:35:48 -0500
  • ac4cbd735e Use libc assert(); fix dependencies; unbreak isduo(). George Koehler 2017-11-11 16:09:05 -0500
  • 384e9b3f5a
    Merge pull request #65 from kernigh/kernigh-qemu David Given 2017-11-11 21:00:16 +0100
  • 805c916ab0 Add more const in <object.h>. George Koehler 2017-11-11 13:08:13 -0500
  • d347207e60 Add more prototypes in mach/proto/as George Koehler 2017-11-10 23:30:46 -0500
  • 3463f0c944 bts2str(), long2str() are in <ack_string.h> George Koehler 2017-11-10 17:31:11 -0500
  • b5b1da6f1a Adjust dependencies in modules/src{print,string,system} George Koehler 2017-11-10 16:26:27 -0500
  • 6367467499 Remove functions that also exist in libc. George Koehler 2017-11-09 23:25:17 -0500
  • ca4bd38206 Delete old "assert.h" files; use libc <assert.h>. George Koehler 2017-11-09 22:22:13 -0500
  • 50a160c07f Increase time-out from 5 to 15 seconds. George Koehler 2017-11-08 15:02:56 -0500
  • 96e23b3a0f Show tests that @@TIMEDOUT. George Koehler 2017-11-08 14:08:43 -0500
  • 0fc0faef08 Restore an assignment deleted in commit 789f79b. George Koehler 2017-11-07 23:52:52 -0500
  • 8c80fa7334
    Merge pull request #63 from kernigh/kernigh-rm-fix David Given 2017-10-31 11:33:52 +0100
  • 9ff79c53dd Update comment after commit 9a965ef. George Koehler 2017-10-30 21:24:18 -0400
  • 84024ce5b6 Improve how Makefile handles multiple goals. George Koehler 2017-10-30 17:09:19 -0400
  • 50a7031007 Don't use '-' in option string to getopt(). George Koehler 2017-10-29 22:00:43 -0400
  • 59b3c10563 Use (arith) 1 << ... when getting the sign bit. George Koehler 2017-10-29 17:45:10 -0400
  • d36807b395 Remove UNSIGNED_ARITH from a few more files. George Koehler 2017-10-29 17:03:51 -0400
  • 1ab1306baa Always use unsigned long in lang/cem George Koehler 2017-10-29 17:01:29 -0400
  • 3d6ee435cf Fix pattern that was rewriting func(! var, var) as func(1). George Koehler 2017-10-29 14:53:33 -0400
  • cb8b28c088 For DIAGOPT, change outshort(patno) to outshort(lino - 1). George Koehler 2017-10-29 14:18:47 -0400
  • c567532eee mktab depends on some of the *.h files. George Koehler 2017-10-28 21:41:59 -0400
  • 038fb6fb55 Get correct sign of a MOD b when (a > 0) and (b < 0). George Koehler 2017-10-28 19:55:06 -0400
  • 649410bb27 Always use unsigned long. George Koehler 2017-10-28 17:56:20 -0400
  • 9a965efae8 Terminal now writes to fd 1, not fd 0. George Koehler 2017-10-28 17:20:39 -0400
  • 75ae957c75 Don't check ferror(fp) when reading fp. George Koehler 2017-10-28 16:20:48 -0400
  • 54028e403e Delete unused misc/getpw.c from libc. George Koehler 2017-10-28 14:25:39 -0400
  • 0a2dfd650d Delete malloc.h and tgmath.h from libc. George Koehler 2017-10-28 13:57:10 -0400
  • b00a2c906d Build fdopen(), hypot(), putenv() in libc. George Koehler 2017-10-28 13:06:38 -0400
  • c261e2efaf Add .pas as a Pascal suffix. George Koehler 2017-10-28 11:59:35 -0400
  • f0241d6bc7 Remove old files: TakeAction config.pm George Koehler 2017-10-28 10:55:51 -0400
  • 66147529d9 Merge pull request #59 from kernigh/kernigh-ppc-regs David Given 2017-10-26 15:15:55 +0100
  • 0102cc8934 lwzu writes to the register in the token. George Koehler 2017-10-19 12:44:46 -0400
  • 2a92f9bf4d Add a few more error checks and adjustments to reglap. George Koehler 2017-10-18 22:00:12 -0400
  • 73ad5a227d Rename RELOLIS to RELOPPC_LIS. George Koehler 2017-10-18 15:39:31 -0400
  • 41f3bf78cd Edit descr for linuxppc. Use powerpc.descr of ego. George Koehler 2017-10-18 13:23:01 -0400
  • 459a9b5949 Use lwzu, stwu to tighten more loops. George Koehler 2017-10-18 12:12:42 -0400
  • ac2b0710c8 Add more rules for single-precision reg_float. George Koehler 2017-10-17 17:53:03 -0400
  • 47bd0ef7a7 Stop inlining code to convert integers to floats. George Koehler 2017-10-17 17:00:28 -0400
  • 893e170015 Use my new regvar_w() and regvar_d() in PowerPC ncg. George Koehler 2017-10-17 14:15:33 -0400
  • 307a8b996e Add regvar_w() and regvar_d() for use with reglap. George Koehler 2017-10-17 12:05:41 -0400
  • 5432bd03d6 Do a move when coercing FREG to FREG or FSREG to FSREG. George Koehler 2017-10-16 12:07:55 -0400
  • f0619ea4ae PowerPC ncg never uses the rules to stack LOCAL or DLOCAL. George Koehler 2017-10-15 15:22:52 -0400
  • aa876ff4c2 Fix reglap for procedures that use both sizes of reg_float. George Koehler 2017-10-15 13:15:03 -0400
  • b342b83d28 Add function prototypes to mach/proto/ncg/regvar.c George Koehler 2017-10-15 11:01:18 -0400
  • d6e9eac785 Merge branch 'default' into kernigh-linuxppc George Koehler 2017-10-14 13:50:49 -0400
  • 7e9348169c Add reglap to ncg. Add 4-byte reg_float to PowerPC ncg. George Koehler 2017-10-14 12:40:04 -0400
  • b83173734d More ansification. David Given 2017-08-06 15:57:49 +0200
  • 68a72f7672 Don't try to run the tests on Travis. David Given 2017-08-06 14:27:15 +0200
  • 1203e8afd2 mkstemp() is a bit more complex than it looks; because ego wants to use the same base name and generate multiple files based on it, we can't really use mkstemp() for every temporary file. Instead, use mkstemp() once on a placeholder, then generate temporary names based on this. (And delete the placeholder once we've finished.) David Given 2017-08-06 14:25:12 +0200
  • a96c846a29 Don't build mcg as part of linuxppc; it's not used and crashes Travis. David Given 2017-08-06 13:54:07 +0200
  • 5f6a773649 Turn of qemuppc for now; it's crashing on Travis builds. David Given 2017-08-06 13:48:01 +0200
  • b55198820a Fix Travis syntax error... David Given 2017-08-06 13:39:21 +0200
  • 64f2fa9d46 Stop using mktemp() --- on Haiku, it always generates the same filenames, pretty much guaranteeing temporary file overwrites on parallel builds. Use mkstemp() instead which creates the files atomically. David Given 2017-08-06 13:22:05 +0200
  • 789f79b369 Ansification, warning fixes, C89ification. David Given 2017-08-06 12:42:17 +0200
  • b79d9fd7f4 Turn off OSX Travis builds --- this is going to be hard to make work. David Given 2017-08-06 12:38:38 +0200
  • 60e7d06d82 Ansification and warning fixes. David Given 2017-08-06 11:58:36 +0200
  • a1043bc5fe Attempt to correct file system case sensitivity. David Given 2017-08-06 11:15:53 +0200
  • 6c6222cc66 Try using trusty and non-sudo build environments. David Given 2017-08-06 10:56:40 +0200
  • e238227ba3 Build with linux/clang; try building on osx/clang. David Given 2017-08-06 10:44:38 +0200
  • fd10cf7ac2 Merge from trunk. David Given 2017-08-06 10:42:16 +0200
  • a9f19a2a31 Merge. David Given 2017-08-05 21:47:40 +0200
  • 7ff0b65a0d Add missing headers. David Given 2017-08-05 21:46:43 +0200
  • 064fd52d52 Update man page not to mention the filename length restriction removed in 893471a42e. David Given 2017-08-02 00:07:51 +0200
  • f2e3d7b38c Don't define functions called itoa(), because this causes problems on platforms that define itoa() in their libcs. David Given 2017-07-23 21:19:07 +0200
  • 2c266c631a Reorder registers. Fix problem with ret 8. George Koehler 2017-02-17 19:32:27 -0500
  • 23c365c939 Fix comparison of 4-byte floats. George Koehler 2017-02-17 19:29:45 -0500
  • 736c45453c Remove .ret from libem and inline the code. George Koehler 2017-02-16 21:18:39 -0500
  • e6df553ebf For PowerPC, never put a reg_float value in a reg_any. George Koehler 2017-02-16 20:30:17 -0500
  • aa47f52166 Switch error() and fatal() in mach/proto/ncg to stdarg. George Koehler 2017-02-16 20:26:53 -0500
  • a20b87ca01 In ego, put both words and double-words in reg_float. George Koehler 2017-02-16 19:55:52 -0500
  • cbe5d8640b Add floating-point register variables to PowerPC ncg. George Koehler 2017-02-15 19:34:07 -0500
  • 8f79699ea8 Merge pull request #52 from kernigh/pr-relolis David Given 2017-02-15 21:04:14 +0000
  • cf728c2a2a Implement lxl for PowerPC ncg. George Koehler 2017-02-13 23:22:31 -0500
  • a8f62f44d8 Remove REG_PAIR. George Koehler 2017-02-13 18:11:27 -0500