summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement <, >, ==, !=, >= <=, &&, and ||.Jack Palevich2009-05-141-15/+36
|
* ACC ARM code gen: Implement local variables, function argsJack Palevich2009-05-141-40/+65
| | | | + Fix prolog and epilog code.
* ACC ARM code gen improvements. printf("Hello, world\n"); works!Jack Palevich2009-05-141-19/+97
| | | | | | | + Improved li to handle all 32-bit values. + Implemented push/pop of temp registers during evaluation + Implemented the unary and binary easy math operators (+,-,*,<<,>>,|,&,^,~) + Implemented global function calling.
* Merge change 1629Android (Google) Code Review2009-05-138-15/+1215
|\ | | | | | | | | * changes: ARM codegen: Add disassembler, implement return
| * ARM codegen: Add disassembler, implement returnJack Palevich2009-05-138-15/+1215
| | | | | | | | | | | | | | | | | | | | | | | | | | This program works: main() { return 42; } The disassembler was borrowed from codeflinger, and just modified enough to compile under C++ without warnings. Implemented gsym Implemented a hack verison of li, only works for -256..255 Implemented gjmp
* | Merge change 1628Android (Google) Code Review2009-05-134-37/+110
|\ \ | |/ | | | | | | * changes: Begin filling in ARM code generator.
| * Begin filling in ARM code generator.Jack Palevich2009-05-134-37/+110
| | | | | | | | We can now call functions that have no arguments (and return from them too!)
* | Merge change 1627Android (Google) Code Review2009-05-133-36/+275
|\ \ | |/ | | | | | | * changes: Add stub Arm code generator.
| * Add stub Arm code generator.Jack Palevich2009-05-133-36/+275
| |
* | am 0389a12: toolbox: Make that \'pointopoint\' instead of \'pointtopoint\'San Mehat2009-05-131-2/+2
|\ \ | | | | | | | | | | | | | | | | | | Merge commit '0389a1297d65321a882ea0dcc69f4de4e3bcb169' * commit '0389a1297d65321a882ea0dcc69f4de4e3bcb169': toolbox: Make that 'pointopoint' instead of 'pointtopoint'
| * | toolbox: Make that 'pointopoint' instead of 'pointtopoint'San Mehat2009-05-131-2/+2
| | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | am 94447ca: nexus: Introduce skelaton OpenVpnController class + remove sSan Mehat2009-05-137-10/+150
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '94447ca34b2abf9b0d9d9cb52a18bf8ba0f01b61' * commit '94447ca34b2abf9b0d9d9cb52a18bf8ba0f01b61': nexus: Introduce skelaton OpenVpnController class + remove some debug messages
| * | nexus: Introduce skelaton OpenVpnController class + remove some debug messagesSan Mehat2009-05-137-10/+150
| | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | am fa49e28: toolbox: Add \'pointopoint\' support to ifconfigSan Mehat2009-05-131-0/+16
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'fa49e2860bebe6bb2a26194c58992e5d5aed0b0d' * commit 'fa49e2860bebe6bb2a26194c58992e5d5aed0b0d': toolbox: Add 'pointopoint' support to ifconfig
| * | toolbox: Add 'pointopoint' support to ifconfigSan Mehat2009-05-131-0/+16
| | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | am 82a2116: nexus: Initial support for manipulating wifi networks + chanSan Mehat2009-05-1310-15/+516
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '82a2116e6b67db910bba22c4874e6ca5efd3eec0' * commit '82a2116e6b67db910bba22c4874e6ca5efd3eec0': nexus: Initial support for manipulating wifi networks + change wifi scan notification msgs
| * | nexus: Initial support for manipulating wifi networks + change wifi scan ↵San Mehat2009-05-1310-15/+516
| | | | | | | | | | | | | | | | | | notification msgs Signed-off-by: San Mehat <san@google.com>
* | | am df6c1b9: libsysutils: General clean up + disable build in simulator bSan Mehat2009-05-134-15/+12
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'df6c1b91e3813886070f35929583c30cfaead918' * commit 'df6c1b91e3813886070f35929583c30cfaead918': libsysutils: General clean up + disable build in simulator builds
| * | libsysutils: General clean up + disable build in simulator buildsSan Mehat2009-05-134-15/+12
| | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | am 6fc287b: Fix sim build (need explicit -lpthread).Andy McFadden2009-05-131-0/+4
|\ \ \ | |/ / | | / | |/ |/| | | | | Merge commit '6fc287b6f6df62c73e1057e26475fec2837296cc' * commit '6fc287b6f6df62c73e1057e26475fec2837296cc': Fix sim build (need explicit -lpthread).
| * Fix sim build (need explicit -lpthread).Andy McFadden2009-05-131-0/+4
| |
* | am e67651c: nexus: Cleanup the scanner and plug it all in so it worksSan Mehat2009-05-125-68/+55
|\ \ | |/ | | | | | | | | | | Merge commit 'e67651c89d0cbb759219412d49cbc5680c17df06' * commit 'e67651c89d0cbb759219412d49cbc5680c17df06': nexus: Cleanup the scanner and plug it all in so it works
| * nexus: Cleanup the scanner and plug it all in so it worksSan Mehat2009-05-125-68/+55
| | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | am dbdb0db: libsysutils: Fix bug where we\'d leak our control pipes when San Mehat2009-05-121-7/+3
|\ \ | |/ | | | | | | | | | | Merge commit 'dbdb0db516fa4935ff7b5c05914932099237d808' * commit 'dbdb0db516fa4935ff7b5c05914932099237d808': libsysutils: Fix bug where we'd leak our control pipes when closing down a listener
| * libsysutils: Fix bug where we'd leak our control pipes when closing down a ↵San Mehat2009-05-121-7/+3
| | | | | | | | | | | | listener Signed-off-by: San Mehat <san@google.com>
* | am 8d3fc3f: nexus: Use constants for errorcodesSan Mehat2009-05-124-33/+62
|\ \ | |/ | | | | | | | | | | Merge commit '8d3fc3fde308fbda1b04759b26bb4fc29d41339f' * commit '8d3fc3fde308fbda1b04759b26bb4fc29d41339f': nexus: Use constants for errorcodes
| * nexus: Use constants for errorcodesSan Mehat2009-05-124-33/+62
| | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | am d530592: libsysutils: Send command arguments to the command, not the San Mehat2009-05-121-1/+2
|\ \ | |/ | | | | | | | | | | Merge commit 'd530592848985ba4edeafeb413eb5ff58c138eab' * commit 'd530592848985ba4edeafeb413eb5ff58c138eab': libsysutils: Send command arguments to the command, not the command again :P
| * libsysutils: Send command arguments to the command, not the command again :PSan Mehat2009-05-121-1/+2
| | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | am 69772dc: nexus: Move to a line based protocol (similar to FTP) + fix San Mehat2009-05-129-93/+191
|\ \ | |/ | | | | | | | | | | Merge commit '69772dc644e1ccc12b6394267f010100470f3c95' * commit '69772dc644e1ccc12b6394267f010100470f3c95': nexus: Move to a line based protocol (similar to FTP) + fix bugs
| * nexus: Move to a line based protocol (similar to FTP) + fix bugsSan Mehat2009-05-129-93/+191
| | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | am d768066: libsysutils: Tweak SocketListener and friendsSan Mehat2009-05-125-32/+56
|\ \ | |/ | | | | | | | | | | Merge commit 'd768066ef54270a0d3ccfccd50ae8238db5a2cdd' * commit 'd768066ef54270a0d3ccfccd50ae8238db5a2cdd': libsysutils: Tweak SocketListener and friends
| * libsysutils: Tweak SocketListener and friendsSan Mehat2009-05-125-32/+56
| | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | Move all x86-specific knowlege into the X86CodeGenerator.Jack Palevich2009-05-122-109/+207
| |
* | Various C++ improvementsJack Palevich2009-05-114-542/+924
| | | | | | | | | | | | | | | | + Changed indentation, causes the stats to say there's a lot of lines changed. + Should be able to compile multiple times with the same compiler object. + Create a CodeBuffer class to hold the code. + Create a CodeGenerator class to encapsulate knowlege of the CPU instruction set. + Started filling in the code generator.
* | Document acc language features.Frabrice Bellard2009-05-111-0/+65
| | | | | | | | Original text from http://www.ioccc.org/2001/bellard.hint
* | Added command-line option "-t" to allow run-time switching between running ↵Jack Palevich2009-05-112-36/+107
| | | | | | | | | | | | | | and dumping. Fixed some C++ warnings reported by g++ . Verified that the compiler actually works when run on 32-bit Linux.
* | Merge change 1366Android (Google) Code Review2009-05-114-25/+39
|\ \ | | | | | | | | | | | | * changes: converted to C++
| * | converted to C++Jack Palevich2009-05-104-25/+39
| | | | | | | | | | | | Base address of constant table changed, so had to update the "-orig" files.
* | | Merge change 1365Android (Google) Code Review2009-05-111-13/+17
|\ \ \ | |/ / | | | | | | | | | * changes: Remove all gcc warnings.
| * | Remove all gcc warnings.Jack Palevich2009-05-101-13/+17
| | |
* | | Merge change 1364Android (Google) Code Review2009-05-115-1066/+534
|\ \ \ | |/ / | | | | | | | | | * changes: Replace acc.c with the contents of otccn.c, update tests.
| * | Replace acc.c with the contents of otccn.c, update tests.Jack Palevich2009-05-105-1066/+534
| | | | | | | | | | | | | | | We are no longer checking if the constant data is the same, just the generated code.
* | | Merge change 1363Android (Google) Code Review2009-05-111-0/+632
|\ \ \ | |/ / | | | | | | | | | * changes: Original version of otccn.c from http://bellard.org/otcc/otccn.c
| * | Original version of otccn.c from http://bellard.org/otcc/otccn.cFabrice Bellard2009-05-101-0/+632
| | |
* | | am c73d9e4: Merge changes 1341,1342 into donutAndroid (Google) Code Review2009-05-1136-417/+758
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | Merge commit 'c73d9e43a0c98a87222ef0c8749d6abba06c7778' * commit 'c73d9e43a0c98a87222ef0c8749d6abba06c7778': libsysutils: Add multiple client support and fix some bugs nexus: Implement wifi scanner and fix a lot of bugs
| * | Merge changes 1341,1342 into donutAndroid (Google) Code Review2009-05-1136-417/+758
| |\ \ | | | | | | | | | | | | | | | | | | | | * changes: libsysutils: Add multiple client support and fix some bugs nexus: Implement wifi scanner and fix a lot of bugs
| | * | libsysutils: Add multiple client support and fix some bugsSan Mehat2009-05-1015-198/+315
| | | |
| | * | nexus: Implement wifi scanner and fix a lot of bugsSan Mehat2009-05-0921-219/+443
| | | | | | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | | am 3fd82b8: adb: osx: Match devices based on interface subclass and protDima Zavin2009-05-102-206/+176
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | Merge commit '3fd82b8861aa410fab7785074941b459d92220c1' * commit '3fd82b8861aa410fab7785074941b459d92220c1': adb: osx: Match devices based on interface subclass and protocol