]> git.nickg.me.uk Git - nvc.git/log
nvc.git
2 years agoPlumb in gc
Nick Gasson [Sat, 12 Feb 2022 10:39:40 +0000 (18:39 +0800)]
Plumb in

2 years agoWIP add a GC
Nick Gasson [Sat, 12 Feb 2022 09:02:13 +0000 (17:02 +0800)]
WIP add a GC

2 years agoLLVM debugging improvements scoped-alloc
Nick Gasson [Sat, 12 Feb 2022 07:51:23 +0000 (15:51 +0800)]
LLVM debugging improvements

2 years agoRename vcode alloca op to scoped alloc
Nick Gasson [Sat, 12 Feb 2022 06:14:24 +0000 (14:14 +0800)]
Rename vcode alloca op to scoped alloc

2 years agoReplace temp stack with secondary stack
Nick Gasson [Sat, 12 Feb 2022 05:39:56 +0000 (13:39 +0800)]
Replace temp stack with secondary stack

2 years agoHandle element constraints in lower_array_total_len
Nick Gasson [Sat, 12 Feb 2022 01:55:12 +0000 (09:55 +0800)]
Handle element constraints in lower_array_total_len

2 years agoAdd separate opcode for division-by-zero check
Nick Gasson [Fri, 11 Feb 2022 06:20:34 +0000 (14:20 +0800)]
Add separate opcode for division-by-zero check

2 years agoBump process temporary stack size to 128kB
Nick Gasson [Fri, 11 Feb 2022 04:15:54 +0000 (12:15 +0800)]
Bump process temporary stack size to 128kB

2 years agoFix incorrect generic map value with component generics. Issue #448
Nick Gasson [Fri, 11 Feb 2022 04:15:33 +0000 (12:15 +0800)]
Fix incorrect generic map value with component generics. Issue #448

2 years agoImprove elaboration hint printing
Nick Gasson [Fri, 11 Feb 2022 03:09:16 +0000 (11:09 +0800)]
Improve elaboration hint printing

2 years agoThread single exec_t instance through elab
Nick Gasson [Fri, 11 Feb 2022 02:55:14 +0000 (10:55 +0800)]
Thread single exec_t instance through elab

2 years agoBetter diagnostics when constant folding fails
Nick Gasson [Fri, 11 Feb 2022 02:14:33 +0000 (10:14 +0800)]
Better diagnostics when constant folding fails

2 years agoMissing check for negative integer exponent
Nick Gasson [Thu, 10 Feb 2022 10:12:36 +0000 (18:12 +0800)]
Missing check for negative integer exponent

2 years agoSeparate tree kind for subprogram parameters
Nick Gasson [Thu, 10 Feb 2022 05:11:29 +0000 (13:11 +0800)]
Separate tree kind for subprogram parameters

2 years agoStack corruption when procedure contains variable sized record. Issue #447
Nick Gasson [Thu, 10 Feb 2022 03:42:55 +0000 (11:42 +0800)]
Stack corruption when procedure contains variable sized record. Issue #447

2 years agoAvoid wrapping lines in stack traces
Nick Gasson [Thu, 10 Feb 2022 02:33:39 +0000 (10:33 +0800)]
Avoid wrapping lines in stack traces

2 years agoMissing null check in opt_get_verbose
Nick Gasson [Thu, 10 Feb 2022 01:55:19 +0000 (09:55 +0800)]
Missing null check in opt_get_verbose

2 years agoFix error message when 'IMAGE used with array
Nick Gasson [Wed, 9 Feb 2022 12:37:15 +0000 (20:37 +0800)]
Fix error message when 'IMAGE used with array

2 years agoReduce cache misses by inlining the first waveform in a driver
Nick Gasson [Wed, 9 Feb 2022 07:05:34 +0000 (15:05 +0800)]
Reduce cache misses by inlining the first waveform in a driver

2 years agoRevert "Add a prefetch before updating drivers"
Nick Gasson [Wed, 9 Feb 2022 06:59:01 +0000 (14:59 +0800)]
Revert "Add a prefetch before updating drivers"

This reverts commit d996a5fc3cc17206f09c49d3485eb24e60ac12e4.

2 years agoChange -flto to -flto=auto
Nick Gasson [Wed, 9 Feb 2022 01:38:24 +0000 (09:38 +0800)]
Change -flto to -flto=auto

2 years agoParsing for VHDL-2008 array constraints
Nick Gasson [Tue, 8 Feb 2022 04:14:55 +0000 (12:14 +0800)]
Parsing for VHDL-2008 array constraints

2 years agoFix compatibility with LLVM < 8.0. Issue #446
Nick Gasson [Tue, 8 Feb 2022 01:27:17 +0000 (09:27 +0800)]
Fix compatibility with LLVM < 8.0. Issue #446

2 years agoWork around a bug in e_chunk_nexus
Nick Gasson [Tue, 8 Feb 2022 00:58:31 +0000 (08:58 +0800)]
Work around a bug in e_chunk_nexus

2 years agoAvoid sem crash after cascading error
Nick Gasson [Mon, 7 Feb 2022 08:11:08 +0000 (16:11 +0800)]
Avoid sem crash after cascading error

2 years agoFix another corner case with generic types
Nick Gasson [Mon, 7 Feb 2022 07:47:10 +0000 (15:47 +0800)]
Fix another corner case with generic types

2 years agoFix intermittent error with protected type bodies
Nick Gasson [Mon, 7 Feb 2022 06:27:33 +0000 (14:27 +0800)]
Fix intermittent error with protected type bodies

2 years agoPredefined DEALLOCATE missing mangled name
Nick Gasson [Mon, 7 Feb 2022 03:06:36 +0000 (11:06 +0800)]
Predefined DEALLOCATE missing mangled name

2 years agoFix duplicate import when using VHDL-2008 context declarations
Nick Gasson [Mon, 7 Feb 2022 02:09:34 +0000 (10:09 +0800)]
Fix duplicate import when using VHDL-2008 context declarations

2 years agoAllow generic declaration to hide entity
Nick Gasson [Mon, 7 Feb 2022 01:30:52 +0000 (09:30 +0800)]
Allow generic declaration to hide entity

2 years agoFix assertion failure with nested context
Nick Gasson [Mon, 7 Feb 2022 01:18:32 +0000 (09:18 +0800)]
Fix assertion failure with nested context

2 years agoRename T_CTXREF to T_CONTEXT_REF
Nick Gasson [Mon, 7 Feb 2022 01:09:38 +0000 (09:09 +0800)]
Rename T_CTXREF to T_CONTEXT_REF

2 years agoFix crash when record aggregate contains an access type
Nick Gasson [Mon, 7 Feb 2022 01:06:07 +0000 (09:06 +0800)]
Fix crash when record aggregate contains an access type

2 years agoFix crash returning access to incomplete type
Nick Gasson [Mon, 7 Feb 2022 00:58:42 +0000 (08:58 +0800)]
Fix crash returning access to incomplete type

2 years agoMissing error for incomplete type in allocator expression
Nick Gasson [Mon, 7 Feb 2022 00:58:07 +0000 (08:58 +0800)]
Missing error for incomplete type in allocator expression

2 years agoFix crash returning access from impure function
Nick Gasson [Sun, 6 Feb 2022 12:20:47 +0000 (20:20 +0800)]
Fix crash returning access from impure function

2 years agoFix incorrect code generation for access-to-array
Nick Gasson [Sun, 6 Feb 2022 12:07:59 +0000 (20:07 +0800)]
Fix incorrect code generation for access-to-array

2 years agoDisallow pointers in all vcode arithmetic operators
Nick Gasson [Sun, 6 Feb 2022 09:53:33 +0000 (17:53 +0800)]
Disallow pointers in all vcode arithmetic operators

2 years agoAdd a new "range length" opcode
Nick Gasson [Sun, 6 Feb 2022 09:34:54 +0000 (17:34 +0800)]
Add a new "range length" opcode

2 years agoFix incorrect arithmetic identity for subtraction
Nick Gasson [Sun, 6 Feb 2022 09:33:14 +0000 (17:33 +0800)]
Fix incorrect arithmetic identity for subtraction

2 years agoFix another corner case with generic packages
Nick Gasson [Sun, 6 Feb 2022 08:14:08 +0000 (16:14 +0800)]
Fix another corner case with generic packages

2 years agoAdd a basic test of IEEE.FLOAT_PKG
Nick Gasson [Sun, 6 Feb 2022 06:25:33 +0000 (14:25 +0800)]
Add a basic test of IEEE.FLOAT_PKG

2 years agoMove deferred constant checking into sem
Nick Gasson [Sun, 6 Feb 2022 03:16:44 +0000 (11:16 +0800)]
Move deferred constant checking into sem

2 years agoImprove subprogram conformance checking
Nick Gasson [Sun, 6 Feb 2022 03:01:09 +0000 (11:01 +0800)]
Improve subprogram conformance checking

2 years agoRemove dead code from sem_copy_default_args
Nick Gasson [Sun, 6 Feb 2022 01:28:50 +0000 (09:28 +0800)]
Remove dead code from sem_copy_default_args

2 years agoImprove readability of dumped addresses
Nick Gasson [Sun, 6 Feb 2022 01:27:51 +0000 (09:27 +0800)]
Improve readability of dumped addresses

2 years agoFix crash after error in package instantiation
Nick Gasson [Sun, 6 Feb 2022 01:12:16 +0000 (09:12 +0800)]
Fix crash after error in package instantiation

2 years agoFix make -j with GNU make. Issue #440
Nick Gasson [Sun, 6 Feb 2022 00:46:45 +0000 (08:46 +0800)]
Fix make -j with GNU make. Issue #440

2 years agoMinor improvements to generic packages
Nick Gasson [Sat, 5 Feb 2022 12:53:18 +0000 (20:53 +0800)]
Minor improvements to generic packages

2 years agoAdd a prefetch before updating drivers
Nick Gasson [Sat, 5 Feb 2022 09:00:22 +0000 (17:00 +0800)]
Add a prefetch before updating drivers

2 years agoMinor cleanup of tree copying
Nick Gasson [Sat, 5 Feb 2022 07:53:54 +0000 (15:53 +0800)]
Minor cleanup of tree copying

2 years agoSeparate lowering function for generic references
Nick Gasson [Sat, 5 Feb 2022 07:20:21 +0000 (15:20 +0800)]
Separate lowering function for generic references

2 years agoSync NEWS.md from 1.6 branch
Nick Gasson [Sat, 5 Feb 2022 06:23:15 +0000 (14:23 +0800)]
Sync NEWS.md from 1.6 branch

2 years agoKeep generated website files outside of repository
Nick Gasson [Sat, 5 Feb 2022 05:48:06 +0000 (13:48 +0800)]
Keep generated website files outside of repository

2 years agoRestrict scope of tree copying
Nick Gasson [Sat, 5 Feb 2022 05:37:22 +0000 (13:37 +0800)]
Restrict scope of tree copying

2 years agoAdd basic support for type generics
Nick Gasson [Fri, 21 Jan 2022 03:48:49 +0000 (11:48 +0800)]
Add basic support for type generics

2 years agoAdd bounds29 test case to testlist.txt
Nick Gasson [Sat, 5 Feb 2022 03:11:06 +0000 (11:11 +0800)]
Add bounds29 test case to testlist.txt

2 years agoFix a few corner cases with invalid generic maps
Nick Gasson [Fri, 4 Feb 2022 09:44:50 +0000 (17:44 +0800)]
Fix a few corner cases with invalid generic maps

2 years agoFix crashing lowering 'VALUE and 'IMAGE. Issue #444
Nick Gasson [Fri, 4 Feb 2022 00:08:20 +0000 (08:08 +0800)]
Fix crashing lowering 'VALUE and 'IMAGE. Issue #444

2 years agoOptimise eopt for large arrays
Nick Gasson [Fri, 4 Feb 2022 04:14:54 +0000 (12:14 +0800)]
Optimise eopt for large arrays

2 years agoOptimise calculating drivers for processes
Nick Gasson [Fri, 4 Feb 2022 03:10:57 +0000 (11:10 +0800)]
Optimise calculating drivers for processes

2 years agoGet rid of I_SIZE and use I_POS instead
Nick Gasson [Fri, 4 Feb 2022 03:10:24 +0000 (11:10 +0800)]
Get rid of I_SIZE and use I_POS instead

2 years agoRemove most uses of e_pos
Nick Gasson [Fri, 4 Feb 2022 00:59:03 +0000 (08:59 +0800)]
Remove most uses of e_pos

2 years agoDo not rely on e_pos to set E_F_CONTIGUOUS
Nick Gasson [Fri, 4 Feb 2022 00:55:50 +0000 (08:55 +0800)]
Do not rely on e_pos to set E_F_CONTIGUOUS

2 years agoUse a hash table instead of an array to index nexuses
Nick Gasson [Fri, 4 Feb 2022 00:37:52 +0000 (08:37 +0800)]
Use a hash table instead of an array to index nexuses

2 years agoSeparate tree kind for generics
Nick Gasson [Wed, 2 Feb 2022 03:49:07 +0000 (11:49 +0800)]
Separate tree kind for generics

2 years agoMerge parse and sem passes
Nick Gasson [Tue, 1 Feb 2022 03:26:30 +0000 (11:26 +0800)]
Merge parse and sem passes

2 years agoSplit generic and port checking in sem
Nick Gasson [Mon, 31 Jan 2022 12:38:58 +0000 (20:38 +0800)]
Split generic and port checking in sem

2 years agoMatch library directory names case insensitively
Nick Gasson [Mon, 31 Jan 2022 08:35:18 +0000 (16:35 +0800)]
Match library directory names case insensitively

2 years agoRemove all remaining uses of make_default_value
Nick Gasson [Mon, 31 Jan 2022 07:08:59 +0000 (15:08 +0800)]
Remove all remaining uses of make_default_value

2 years agoAdd tests for lower_new
Nick Gasson [Mon, 31 Jan 2022 06:42:13 +0000 (14:42 +0800)]
Add tests for lower_new

2 years agoRemove uses of make_default_value in simp
Nick Gasson [Mon, 31 Jan 2022 06:11:43 +0000 (14:11 +0800)]
Remove uses of make_default_value in simp

2 years agoFix wrong generic map elaboration with block statement
Nick Gasson [Mon, 31 Jan 2022 06:10:24 +0000 (14:10 +0800)]
Fix wrong generic map elaboration with block statement

2 years agoExtend lower_default_value to handle more types
Nick Gasson [Mon, 31 Jan 2022 05:18:45 +0000 (13:18 +0800)]
Extend lower_default_value to handle more types

2 years agoDo not set signal default value in sem
Nick Gasson [Mon, 31 Jan 2022 02:21:25 +0000 (10:21 +0800)]
Do not set signal default value in sem

2 years agoDo not set port default value in sem
Nick Gasson [Mon, 31 Jan 2022 02:16:53 +0000 (10:16 +0800)]
Do not set port default value in sem

2 years agoRemove a few calls to make_default_value
Nick Gasson [Mon, 31 Jan 2022 02:07:58 +0000 (10:07 +0800)]
Remove a few calls to make_default_value

2 years agoReplace global interned idents with an enum
Nick Gasson [Sun, 30 Jan 2022 06:08:39 +0000 (14:08 +0800)]
Replace global interned idents with an enum

2 years agoMove NVC_*_VERBOSE handling to new opt module
Nick Gasson [Sun, 30 Jan 2022 04:54:51 +0000 (12:54 +0800)]
Move NVC_*_VERBOSE handling to new opt module

2 years agoStop using strings as option keys
Nick Gasson [Sun, 30 Jan 2022 04:33:04 +0000 (12:33 +0800)]
Stop using strings as option keys

2 years agoBug in overload resolution with optional arguments. Issue #443
Nick Gasson [Fri, 28 Jan 2022 12:19:56 +0000 (20:19 +0800)]
Bug in overload resolution with optional arguments. Issue #443

2 years agoUse a larger global temporary stack. Issue #441
Nick Gasson [Fri, 28 Jan 2022 04:29:07 +0000 (12:29 +0800)]
Use a larger global temporary stack. Issue #441

2 years agoFix bug in the fix for issue #441
Nick Gasson [Fri, 28 Jan 2022 04:03:18 +0000 (12:03 +0800)]
Fix bug in the fix for issue #441

2 years agoFix incorrect generic value in binding specification. Issue #442
Nick Gasson [Fri, 28 Jan 2022 03:43:57 +0000 (11:43 +0800)]
Fix incorrect generic value in binding specification. Issue #442

2 years agoFix an out-of-memory condition when initialising processes. Issue #441
Nick Gasson [Thu, 27 Jan 2022 10:51:34 +0000 (18:51 +0800)]
Fix an out-of-memory condition when initialising processes. Issue #441

2 years agoFix compatibility with BSD make. Issue #440
Nick Gasson [Thu, 27 Jan 2022 02:10:59 +0000 (10:10 +0800)]
Fix compatibility with BSD make. Issue #440

2 years agoBump version to 1.7-devel
Nick Gasson [Wed, 26 Jan 2022 02:10:08 +0000 (10:10 +0800)]
Bump version to 1.7-devel

2 years agoUpdate for 1.6.0 release r1.6.0
Nick Gasson [Tue, 25 Jan 2022 10:00:44 +0000 (18:00 +0800)]
Update for 1.6.0 release

2 years agoFix FST file reading/writing on *BSD
Nick Gasson [Tue, 25 Jan 2022 09:46:40 +0000 (17:46 +0800)]
Fix FST file reading/writing on *BSD

2 years agoFix makefile dependency generation for T_PACK_INST
Nick Gasson [Tue, 25 Jan 2022 09:30:43 +0000 (17:30 +0800)]
Fix makefile dependency generation for T_PACK_INST

2 years agoDelete AUTHORS, add THANKS.md
Nick Gasson [Tue, 25 Jan 2022 06:10:24 +0000 (14:10 +0800)]
Delete AUTHORS, add THANKS.md

2 years agoAdd support for foreign VHPIDIRECT subprograms
Nick Gasson [Tue, 25 Jan 2022 05:59:48 +0000 (13:59 +0800)]
Add support for foreign VHPIDIRECT subprograms

2 years agoFix several corner cases with 'LAST_EVENT and 'LAST_ACTIVE
Nick Gasson [Tue, 25 Jan 2022 02:59:24 +0000 (10:59 +0800)]
Fix several corner cases with 'LAST_EVENT and 'LAST_ACTIVE

2 years agoFix build on Windows without Pandoc
Nick Gasson [Mon, 24 Jan 2022 09:48:12 +0000 (17:48 +0800)]
Fix build on Windows without Pandoc

2 years agoFix memory leak with access to unconstrained array
Nick Gasson [Mon, 24 Jan 2022 09:20:32 +0000 (17:20 +0800)]
Fix memory leak with access to unconstrained array

2 years agoUse libc for memory allocation when __SANITIZE_ADDRESS__
Nick Gasson [Mon, 24 Jan 2022 08:48:32 +0000 (16:48 +0800)]
Use libc for memory allocation when __SANITIZE_ADDRESS__

2 years agoFix incorrect lowering for wait on statement. Issue #439
Nick Gasson [Mon, 24 Jan 2022 08:19:40 +0000 (16:19 +0800)]
Fix incorrect lowering for wait on statement. Issue #439

2 years agoFixes for make distcheck
Nick Gasson [Mon, 24 Jan 2022 06:55:50 +0000 (14:55 +0800)]
Fixes for make distcheck

2 years agoFix build without pandoc/mandoc installed
Nick Gasson [Mon, 24 Jan 2022 06:33:15 +0000 (14:33 +0800)]
Fix build without pandoc/mandoc installed

2 years agoSync release notes from 1.5 branch
Nick Gasson [Mon, 24 Jan 2022 06:27:50 +0000 (14:27 +0800)]
Sync release notes from 1.5 branch